Efficient, time-based leader node election in a distributed computing system
AssigneeAlibaba Group Holding Limited
InventorsZhenkun Yang, Jinliang Xiao
Life of this patent
Estimating the term…
Abstract
A same voting time, a same vote counting time, and a same leader node tenure is configured by a host for all nodes. Time configuration information including the same configured voting time, the same vote counting time, and the same leader node tenure, is sent to all the nodes. The nodes are operable to vote during the same voting time, count the number of votes during the same vote counting time, and elect a leader node according to a vote counting result. The nodes are enabled to perform periodic node election according to the same leader node tenure.
Claims20
A computer-implemented method, comprising:
- configuring, by a host, a same voting time, a same vote counting time, and a same leader node tenure for all nodes;
- and
- sending time configuration information that includes the same configured voting time, the same vote counting time, and the same leader node tenure to all the nodes, the nodes operable to vote during the same voting time, count the number of votes during the same vote counting time, and elect a leader node according to a vote counting result, wherein the nodes are enabled to perform periodic node election according to the same leader node tenure.
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- configuring, by a host, a same voting time, a same vote counting time, and a same leader node tenure for all nodes;
- and
- sending time configuration information that includes the same configured voting time, the same vote counting time, and the same leader node tenure to all the nodes, the nodes operable to vote during the same voting time, count the number of votes during the same vote counting time, and elect a leader node according to a vote counting result, wherein the nodes are enabled to perform periodic node election according to the same leader node tenure.
A computer-implemented system, comprising:
- one or more computers;
- and
- one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing instructions, that when executed by the one or more computers, perform operations using methods comprising:
- configuring, by a host, a same voting time, a same vote counting time, and a same leader node tenure for all nodes;
- and
- sending time configuration information that includes the same configured voting time, the same vote counting time, and the same leader node tenure to all the nodes, the nodes operable to vote during the same voting time, count the number of votes during the same vote counting time, and elect a leader node according to a vote counting result, wherein the nodes are enabled to perform periodic node election according to the same leader node tenure.
Dependencies are inferred from the claim text.