COORDINATIVE DATACENTER PROCESSING IN A NETWORK-BASED COMMUNICATION SYSTEM
First Claim
1. A method comprising:
- maintaining a state table comprising a plurality of contexts, each of the plurality of contexts associated with a plurality of handles and entries;
detecting, using at least one processor, a first event associated with a first context from the plurality of contexts;
based on the first event, identifying a first handle corresponding to the first context and a first data element corresponding to the first context;
sending, to a datacenter, a first message comprising the first handle and the first data element;
updating, using the at least one processor, an entry associated with the first context in the state table based on the first handle and the first data element;
receiving, from the datacenter, a second message comprising a second handle corresponding to the first context and a second data element corresponding to the first context; and
updating the entry associated with the first context in the state table based on the second handle and the second data element.
15 Assignments
0 Petitions
Accused Products
Abstract
The present application details exemplary methods and systems for providing current state information to multiple active datacenters within a network-based communication system. For example, a datacenter can detect an event that occurs within the network-based communication system. Upon detecting the event, the datacenter can update a state table on the datacenter based on state information associated with the event. In addition, the datacenter can send a state information message to other datacenters in the network-based communication system. The state information message can include state information associated with the event. The other datacenters in the network-based communication system can update their respective state tables using the state information in the state information message without needing to individually process the event.
-
Citations
20 Claims
-
1. A method comprising:
-
maintaining a state table comprising a plurality of contexts, each of the plurality of contexts associated with a plurality of handles and entries; detecting, using at least one processor, a first event associated with a first context from the plurality of contexts; based on the first event, identifying a first handle corresponding to the first context and a first data element corresponding to the first context; sending, to a datacenter, a first message comprising the first handle and the first data element; updating, using the at least one processor, an entry associated with the first context in the state table based on the first handle and the first data element; receiving, from the datacenter, a second message comprising a second handle corresponding to the first context and a second data element corresponding to the first context; and updating the entry associated with the first context in the state table based on the second handle and the second data element. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
maintaining a state table comprising an entry, the entry comprising an entry handle, an entry former value, and an entry current value; receiving, from a first datacenter, a first message comprising a first handle and a first data element, the first data element comprising a first message former value and a first message updated value; comparing, using at least one processor, the entry current value to the first message former value to determine whether the entry current value matches the first message former value; based on determining that the entry current value and the message former value match, updating the state table by replacing the entry former value with the entry current value and replacing the entry current value with the first message updated value; receiving, from a second datacenter, a second message comprising a second handle and a second data element, the second data element comprising a send message former value and a second message updated value; detecting a conflict in the entry in the state table when the current value in the state table does not match the former value of the second data element, and when the former value in the state table matches the former value of the second data element; identifying a corrected current value by comparing the updated value of the first data element and the updated value of the second data element with the former value of the entity in the state table; and updating the current value in the state table with the corrected current value. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A system comprising:
-
at least one processor; and at least one non-transitory computer readable storage medium storing instructions thereon that, when executed by the at least one processor, cause the system to; maintain a state table comprising a plurality of contexts, each of the plurality of contexts associated with a plurality of handles and entries; detect, using at least one processor, a first event associated with a first context from the plurality of contexts; based on the first event, identify a first handle corresponding to the first context and a first data element corresponding to the first context; send, to a datacenter, a first message comprising the first handle and the first data element; update an entry associated with the first context in the state table based on the first handle and the first data element; receive, from the datacenter, a second message comprising a second handle corresponding to the first context and a second data element corresponding to the first context; and update the entry associated with the first context in the state table based on the second handle and the second data element. - View Dependent Claims (19)
-
-
20. The system of system 19, further comprising incrementing a message count associated with the second message upon receiving the second message.
Specification