Subscribing to multiple resources through a common connection
First Claim
1. A method for aggregating notifications from multiple server resources addressed to a client that is subscribed to the multiple server resources, the method comprising:
- initializing, at a computing device, a notification queue associated with a client identification for the client, the notification queue processing notification messages generated from the multiple server resources to which the client is subscribed;
receiving, at the notification queue, a first notification message from a first server resource in response to an update of information at the first server resource, the first notification message being addressed to the client identification for the client, the notification queue not querying the first server resource for the first notification message;
in response to a first request from the client, communicating the first notification message from the notification queue to the client;
receiving, at the notification queue, a second notification message from a second server resource in response to an update of information at the second server resource, the second notification message being addressed to the client identification for the client, the notification queue not querying the second server resource for the second notification message, the second notification message being received from the second server resource through a data-center intermediary server that aggregates notification messages from the multiple server resources within a first data center that are addressed to multiple clients that have notification queues in a second data center, thereby allowing a single connection between the first data center and the second data center to carry the notification messages, the first notification message and the second notification message being communicated between the notification queue and the client through a stateless front-end machine that performs a load balancing function; and
in response to a second request from the client, communicating the second notification message from the notification queue to the client.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and computer-readable media are provided to allow multiple server resources to share a single connection to a client device. The single connection may be maintained between a notification queue on the server side and the client device. Multiple server resources share the notification queue. When a resource changes or a service wants to communicate information to a client, corresponding messages are sent to the notification queue over a connection within the data center. Once in the notification queue, the updates are communicated to the client device.
-
Citations
20 Claims
-
1. A method for aggregating notifications from multiple server resources addressed to a client that is subscribed to the multiple server resources, the method comprising:
-
initializing, at a computing device, a notification queue associated with a client identification for the client, the notification queue processing notification messages generated from the multiple server resources to which the client is subscribed; receiving, at the notification queue, a first notification message from a first server resource in response to an update of information at the first server resource, the first notification message being addressed to the client identification for the client, the notification queue not querying the first server resource for the first notification message; in response to a first request from the client, communicating the first notification message from the notification queue to the client; receiving, at the notification queue, a second notification message from a second server resource in response to an update of information at the second server resource, the second notification message being addressed to the client identification for the client, the notification queue not querying the second server resource for the second notification message, the second notification message being received from the second server resource through a data-center intermediary server that aggregates notification messages from the multiple server resources within a first data center that are addressed to multiple clients that have notification queues in a second data center, thereby allowing a single connection between the first data center and the second data center to carry the notification messages, the first notification message and the second notification message being communicated between the notification queue and the client through a stateless front-end machine that performs a load balancing function; and in response to a second request from the client, communicating the second notification message from the notification queue to the client. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of communicating with resources in a remote data center, the method comprising:
-
subscribing to a first server resource and a second server resource associated with a service operating in the remote data center; receiving a first notification message from the first server resource in response to an update of information at the first server resource, the first notification message received through a notification queue at an aggregation component established by the remote data center, the first notification message including a client identification associated with the notification queue; and receiving a second notification message from the second server resource in response to an update of information at the second server resource, the second notification message received through the notification queue at the aggregation component, the second notification message including the client identification associated with the notification queue, the notification queue not querying the first and second server resources for the first and second notification messages, the second notification message being received from the second server resource through a data-center intermediary server that aggregates notification messages from the multiple server resources within a first data center that are addressed to multiple clients that have notification queues in a second data center, thereby allowing a single connection between the first data center and the second data center to carry the notification messages, the first notification message and the second notification message being communicated between the notification queue and a client through a stateless front-end machine that performs a load balancing function. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computing system comprising:
-
a processor; and computer storage memory having computer-executable instructions stored thereon which, when executed by the processor, implement a method of communicating updates from multiple sever resources to a client device over a single connection, the method comprising; assigning a single client to a single notification queue and associating a client identification for the single client with the single notification queue, wherein the single client is subscribed to a service that is associated with multiple resources that individual clients subscribe to, and wherein the single client is subscribed to a first resource and a second resource that are both provided by the service; automatically routing a first event notification from the first resource to the single notification queue, wherein the routing is based on the client identification for the single client; and automatically routing a second event notification from the second resource to the single notification queue, wherein the routing is based on the client identification for the single client, the single notification queue not querying the first and second resources for the first and second event notifications, the second event notification being received from the second resource through a data-center intermediary server that aggregates event notifications from the multiple resources within a first data center that are addressed to multiple clients that have notification queues in a second data center, thereby allowing a single connection between the first data center and the second data center to carry the event notifications, wherein the first event notification and the second event notification are communicated between the single notification queue and the single client through a stateless front-end machine that performs a load balancing function. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification