Capturing and re-creating the state of a queue when migrating a session
First Claim
1. A machine-implemented method, comprising:
- receiving a request to migrate a session established on a first server to a second server, wherein the first session comprises queuing state information that describes the state of a queue of messages; and
migrating the queuing state information to the second server.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for migrating the session state of an original session from a first node to a second node, such that a process, executing in the migrated session, may enqueue and dequeue messages from a queue of messages and experience the same behavior from the queue of messages as if the process was enqueuing and dequeuing messages in the original session. Advantageously, all the benefits of migrating a session from one node to another node may be realized, even when the session contains queuing state information that describes the state of a queue of messages. Data that indicates how many messages one or more subscribers have removed from the queue of messages may also be stored to preserve proper behavior of the queue of messages for multiple subscribers when sessions are migrated.
157 Citations
22 Claims
-
1. A machine-implemented method, comprising:
-
receiving a request to migrate a session established on a first server to a second server, wherein the first session comprises queuing state information that describes the state of a queue of messages; and
migrating the queuing state information to the second server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A machine-readable medium carrying one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
receiving a request to migrate a session established on a first server to a second server, wherein the first session comprises queuing state information that describes the state of a queue of messages; and
migrating the queuing state information to the second server. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification