Leader election with lifetime term
Abstract
A processing device receives request from a process of a plurality of processes of a clusterized service, to attempt to obtain exclusive access to a predetermined resource associated with a leader state of the plurality of processes. Responsive to successfully obtaining the exclusive access to the predetermined resource, the processing device enables the process to enter the leader state. The processing device enables the process to stay in the leader state for the lifetime of the process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: attempting, by a process of a plurality of processes of a clusterized service, to obtain exclusive access to a configuration binding memory object associated with a leader state of the plurality of processes; responsive to successfully obtaining the exclusive access to the configuration binding memory object, entering, by the process, the leader state; and staying, by the process, in the leader state for a lifetime of the process.
- Claim 2Depends on #1
The method of claim 1 , wherein attempting to obtain exclusive access to the configuration binding memory object associated with the leader state further comprises: responsive to failing to obtain the exclusive access to the configuration binding memory object, repeating an attempt to obtain the exclusive access to the configuration binding memory object upon expiration of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
Non-Patent Literature (4)
- Ashpole, David, et al., GitHub, Inc., “Kubernetes-CHANGELOG-1.9.md”, https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.9.md, Oct. 31, 2018, 64 pages.
- Kubernetes, “Simple Leader Election with Kubernetes and Docker”, https://kubernetes.io/blog/2016/01/simple-leader-election-with-kubernetes/, Jan. 11, 2016, 3 pages.
- Microsoft, “Leader Election Pattern”, https://docs.microsoft.com/en-us/azure/architecture/patterns/leader-election, Jun. 22, 2017, 10 pages.
- VanLightly, Jack, “RabbitMQ vs Kafka Part 6—Fault Tolerance and High Availability with Kafka”, https://jack-vanlightly.com/blog/2018/9/2/rabbitmq-vs-kafka-part-6-fault-tolerance-and-high-availability-with-kafka, Sep. 5, 2018, 54 pages.