主权项 |
1. A method of managing session state for a plurality of media-based conference sessions, the method comprising:
receiving, by a server computing device, a first request to update a data element in a primary in-memory data structure, the request comprising an update to the data element associated with a session state of one or more in-process media-based conference sessions; blocking, by the server computing device, subsequent requests to update the data element that are received after the first request and storing the blocked requests sequentially in a temporary queue based upon a timestamp associated with each blocked request; replicating, by the server computing device, the update to the data element to a secondary in-memory data structure; updating, by the server computing device, the data element in the primary in-memory data structure based upon the update to the data element in the first request; processing, by the server computing device, the blocked requests based upon the timestamp upon completion of the replication step; indexing, by the server computing device, the in-memory data structures including assigning a timestamp to each data element in the in-memory data structures; and comparing, by the server computing device, the timestamps assigned to a corresponding data element in each of (i) the primary in-memory data structure and (ii) the secondary in-memory data structure, to determine whether the in-memory data structures are synchronized. |