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

Concurrent proposals #8

Open
jivimberg opened this issue Dec 1, 2017 · 2 comments
Open

Concurrent proposals #8

jivimberg opened this issue Dec 1, 2017 · 2 comments

Comments

@jivimberg
Copy link

I've noticed that in your implementation of a replicated state machine the instance number is only advanced upon resolution.
So presumably clients can only issue a new proposal once the current one has been resolved.
Is there a simple way of adding support for multiple concurrent proposals?

@cocagne
Copy link
Owner

cocagne commented Dec 1, 2017 via email

@jivimberg
Copy link
Author

Hi Tom,
Thanks for your detailed answer!

I was indeed talking about using a lease-based master multi-paxos. The idea of using distinct chains had never occurred to me, so thanks for the insight.

I was actually trying to implement something similar to the replicated state machine described by Lamport at Paxos Made Simple. The system described in that paper allows for multiple concurrent proposals. It does requires some extra care when a new node is promoted to master, and could leave you with gaps in the log.
About the order of the operations I think it could be decided at the master, and it could provide order guarantees only for operations the client has seen the response of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants