# US 2019/0245943 A1 · Distributed Queueing in a Remote Network Management Architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0245943 A1
- Document ID: US20190245943A1
- Status: Published application
- Kind: A1
- Application number: 15/887,098
- Filed: 2018-02-02
- Published: 2019-08-08
- Earliest claimed: 2018-02-02
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Vadim Dukhovny; Dov Miron; Marina Osherov
- Web page: https://patentgrep.com/patent/US20190245943A1

## CPC

- H04L 67/63: Routing a service request depending on the request content or context
- H04L 41/0213: Standardised network management protocols, e.g. simple network management protocol [SNMP]
- H04L 41/0253: using browsers or web-pages for accessing management information
- H04L 41/0273: using web services for network management, e.g. simple object access protocol [SOAP]
- H04L 41/22: comprising specially adapted graphical user interfaces [GUI]
- H04L 41/5096: {wherein the managed service relates to distributed or central networked applications}
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L 67/288: Distributed intermediate devices, i.e. intermediate devices for interaction with other intermediate devices on the same level
- H04L 67/53: using third party service providers
- H04L 67/561: Adding application-functional data or data for application control, e.g. adding metadata
- H04L 67/289: Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An embodiment may involve proxy server applications within a managed network, and a computational instance disposed within a remote network management platform. The computational instance may contain queues and facilitate the execution of applications. Communication between the computational instance and managed network may involve: (i) selecting, by a particular application, a particular output queue; (ii) writing, by the particular application, a unit of work generated by the particular application to the particular output queue; (iii) retrieving, by a particular proxy server application, the unit of work; (iv) carrying out, by the particular proxy server application, the unit of work; (v) writing, by the particular proxy server application, a result to a particular input queue, where the result represents an outcome of carrying out the unit of work; and (vi) retrieving, by the particular application, the result from the particular input queue.

## Claims

### Claim 1

A system comprising:
a plurality of proxy server applications disposed within a managed network; and
a computational instance disposed within a remote network management platform, wherein the remote network management platform manages the managed network by way of the computational instance, wherein the computational instance contains a plurality of queues and facilitates the execution of a plurality of applications, wherein each of the plurality of applications is configured to communicate with one or more of the proxy server applications by way of one or more of the plurality of queues, the communication comprising operations of:
selecting, by a particular application of the plurality of applications, a particular output queue of the plurality of queues;
writing, by the particular application, a unit of work generated by the particular application to the particular output queue;
retrieving, by a particular proxy server application of the plurality of proxy server applications, the unit of work from the particular output queue;
carrying out, by the particular proxy server application, the unit of work;
writing, by the particular proxy server application, a result to a particular input queue of the plurality of queues, wherein the result represents an outcome of carrying out the unit of work, and wherein the particular input queue is associated with the particular output queue; and
retrieving, by the particular application, the result from the particular input queue.

### Claim 2 (depends on 1)

The system of claim 1, wherein there is a one-to-one relationship between the proxy server applications and the queues.

### Claim 3 (depends on 2)

The system of claim 2, wherein each of the plurality of proxy server applications uses a respectively dedicated queue of the plurality of queues to communicate with the plurality of applications.

### Claim 4 (depends on 1)

The system of claim 1, wherein there is a one-to-one relationship between the applications and the queues.

### Claim 5 (depends on 4)

The system of claim 4, wherein each of the plurality of applications uses a respectively dedicated queue of the plurality of queues to communicate with the plurality of proxy server applications.

### Claim 6 (depends on 1)

The system of claim 1, wherein each of the plurality of queues is associated with a different priority, and wherein writing the unit of work generated by the particular application in the particular output queue is based on matching a priority of the unit of work with the priority associated with the particular output queue.

### Claim 7 (depends on 6)

The system of claim 6, wherein a time at which the particular proxy server application retrieves the unit of work from the particular output queue is based on the priority associated with the particular output queue.

### Claim 8 (depends on 1)

The system of claim 1, wherein the particular proxy server application contains:
a proxy queue configured to store results to be placed in the particular input queue, the proxy queue including a head and a tail; and
a proxy queue manager configured to write incoming results to the tail, read outgoing results from the head, and place read results in the particular input queue.

### Claim 9 (depends on 8)

The system of claim 8, wherein the proxy queue manager is configured to detect duplicate results in the proxy queue, and to remove all but one of the duplicate results from the proxy queue.

### Claim 10 (depends on 8)

The system of claim 8, wherein the proxy queue manager is configured to detect partially-overlapping results in the proxy queue, and to merge the partially-overlapping results into a smaller number of results.

### Claim 11 (depends on 8)

The system of claim 8, wherein the proxy queue manager is configured to hold the result in the proxy queue beyond a nominal time at which the result would otherwise be read, and combine the result with one or more other results that arrived to the proxy queue at a later time.

### Claim 12 (depends on 8)

The system of claim 8, wherein the proxy queue manager is configured to detect that the result exceeds a predetermined size limit, and split the result into two or more results that do not exceed the predetermined size limit.

### Claim 13

A method comprising:
selecting, by a particular application of a plurality of applications, a particular output queue of a plurality of queues, wherein a computational instance disposed within a remote network management platform contains the plurality of queues and facilitates execution of the plurality of applications, wherein each of the plurality of applications is configured to communicate, by way of one or more of the plurality of queues, with one or more of a plurality of proxy server applications disposed within a managed network, wherein the remote network management platform manages the managed network by way of the computational instance;
writing, by the particular application, a unit of work generated by the particular application to a particular output queue of the plurality of queues;
retrieving, by a particular proxy server application of the plurality of proxy server applications, the unit of work from the particular output queue;
carrying out, by the particular proxy server application, the unit of work;
writing, by the particular proxy server application, a result to a particular input queue of the plurality of queues, wherein the result represents an outcome of carrying out the unit of work, and wherein the particular input queue is associated with the particular output queue; and
retrieving, by the particular application, the result from the particular input queue.

### Claim 14 (depends on 13)

The method of claim 13, wherein there is a one-to-one relationship between the proxy server applications and the queues.

### Claim 15 (depends on 13)

The method of claim 13, wherein there is a one-to-one relationship between the applications and the queues.

### Claim 16 (depends on 13)

The method of claim 13, wherein the particular proxy server application contains a proxy queue and a proxy queue manager, wherein the proxy queue has a head and a tail, the method further comprising:
writing, by the proxy queue manager, incoming results to the tail;
reading, by the proxy queue manager, outgoing results from the head; and
placing, by the proxy queue manager, read results in the particular input queue.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
detecting, by the proxy queue manager, duplicate results in the proxy queue; and
removing, by the proxy queue manager, all but one of the duplicate results from the proxy queue.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
detecting, by the proxy queue manager, partially-overlapping results in the proxy queue; and
merging, by the proxy queue manager, the partially-overlapping results into a smaller number of results.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
holding, by the proxy queue manager, the result in the proxy queue beyond a nominal time at which the result would otherwise be read; and
combining, by the proxy queue manager, the result with one or more other results that arrived to the proxy queue at a later time.

### Claim 20

An article of manufacture including a non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing system, cause the computing system to perform operations comprising:
selecting, by a particular application of a plurality of applications, a particular output queue of a plurality of queues, wherein a computational instance disposed within a remote network management platform contains the plurality of queues and facilitates execution of the plurality of applications, wherein each of the plurality of applications is configured to communicate, by way of one or more of the plurality of queues, with one or more of a plurality of proxy server applications disposed within a managed network, wherein the remote network management platform manages the managed network by way of the computational instance;
writing, by the particular application, a unit of work generated by the particular application to a particular output queue of the plurality of queues, wherein the writing causes a particular proxy server application of the plurality of proxy server applications to: retrieve the unit of work from the particular output queue, carry out the unit of work, and write a result to a particular input queue of the plurality of queues, wherein the result represents an outcome of carrying out the unit of work, and wherein the particular input queue is associated with the particular output queue; and
retrieving, by the particular application, the result from the particular input queue.
