Method for expiring fault-tolerant timers using distributed locks
First Claim
Patent Images
1. A method of providing fault-tolerant, elastically scalable timers utilizing distributed timer system nodes, by expiring a timer having contextual information and established in response to a request from a client device, comprising:
- broadcasting, by a primary node and to a plurality of secondary nodes, a notice to check for expired timers;
identifying, by at least a first one of the secondary nodes and in response to the broadcasting, an expired timer;
establishing, by the at least first one of the secondary nodes, a distributed lock for the expired timer;
removing, by the at least first one of the secondary nodes and from at least a second one of the secondary nodes, the expired timer associated with the distributed lock;
releasing, by the at least first one of the secondary nodes, the distributed lock on the expired timer; and
notifying, utilizing the contextual information of the expired timer, the client device of the expiration of the expired timer.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, and articles of manufacture provide for fault-tolerant timers, such as in an online gaming environment. Fault-tolerant timers may, for example, be provided by implementing specific methods for expiring a timer, such as by utilizing broadcast notices and distributed locks.
-
Citations
6 Claims
-
1. A method of providing fault-tolerant, elastically scalable timers utilizing distributed timer system nodes, by expiring a timer having contextual information and established in response to a request from a client device, comprising:
-
broadcasting, by a primary node and to a plurality of secondary nodes, a notice to check for expired timers; identifying, by at least a first one of the secondary nodes and in response to the broadcasting, an expired timer; establishing, by the at least first one of the secondary nodes, a distributed lock for the expired timer; removing, by the at least first one of the secondary nodes and from at least a second one of the secondary nodes, the expired timer associated with the distributed lock; releasing, by the at least first one of the secondary nodes, the distributed lock on the expired timer; and notifying, utilizing the contextual information of the expired timer, the client device of the expiration of the expired timer. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification