Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leader election #101

Open
pshemass opened this issue Nov 21, 2019 · 4 comments
Open

Leader election #101

pshemass opened this issue Nov 21, 2019 · 4 comments
Assignees
Labels
help wanted Extra attention is needed
Milestone

Comments

@pshemass
Copy link
Contributor

we should support leader election to be able to assign role to particular node in the cluster.

@mijicd mijicd added this to the 0.2.0 milestone Dec 13, 2019
@mijicd
Copy link
Member

mijicd commented Dec 13, 2019

The purpose of this ticket is to come up with the simplest leader election protocol as possible. @pshemass has an idea, and egalitarian paxos might be the alternative.

I propose to keep this issue as research ticket until we come up with the decision / prototypes / follow-up tickets.

@mijicd mijicd added the help wanted Extra attention is needed label Dec 13, 2019
@mijicd mijicd self-assigned this Jan 13, 2020
@vpavkin
Copy link
Contributor

vpavkin commented Mar 13, 2020

So I did a small research of my own:)
EPaxos doesn't actually look even close to simple, IMO.
Then there's CASPaxos which is known to be somewhat simpler than raft, but is not quite battle-tested. Although people are trying to make it work in real systems.
Overall, I'd probably still go with raft, as it's proven to work and is relatively simple.

@mijicd
Copy link
Member

mijicd commented Mar 13, 2020

@vpavkin I've started some drafts with Raft, so we can probably pair up on that. Let us wait for all updates to land, and I'll try to systematize the ticket and sum it up separately so that we can work together on it. Meanwhile, I don't think we should drop any alternatives, regardless of how simple / complicated they are. If there's volunteers to work - why not have them :).

@vpavkin
Copy link
Contributor

vpavkin commented Mar 13, 2020

Sure, having alternatives is even better:)
I'll stay tuned then for when I can pick something up wrt to this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants