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

optimize the read operation #16

Open
baotiao opened this issue Oct 13, 2017 · 1 comment
Open

optimize the read operation #16

baotiao opened this issue Oct 13, 2017 · 1 comment
Assignees

Comments

@baotiao
Copy link
Contributor

baotiao commented Oct 13, 2017

right now the read operation need Append Entry RPC, in raft's paper and paxos paper, both of them suggest leader lease to optimize the read operation. we can call it raft with lease.

@baotiao baotiao self-assigned this Oct 13, 2017
@baotiao
Copy link
Contributor Author

baotiao commented Oct 15, 2017

according to Diego's phd paper, there is two ways of optimize the read operation

  1. use heartbeat instead of append entry RPC to avoid synchronous disk write
  2. using clocks to reduce messaging, aka. leader with lease, but he didn't support this way since the time can't be believe in asynchronous network.

so we will implement the first way

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

No branches or pull requests

1 participant