Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
d620a9fd
Commit
d620a9fd
authored
Jan 10, 2018
by
Willem Thiart
Browse files
Add roadmap
parent
3ee2c463
Changes
1
Show whitespace changes
Inline
Side-by-side
README.rst
View file @
d620a9fd
...
@@ -443,12 +443,19 @@ The process works like this:
...
@@ -443,12 +443,19 @@ The process works like this:
5. When the ``send_snapshot`` callback fires, the user must propogate the snapshot to the other node.
5. When the ``send_snapshot`` callback fires, the user must propogate the snapshot to the other node.
6. Once the peer has the snapshot, they call ``raft_begin_load_snapshot``.
6. Once the peer has the snapshot, they call ``raft_begin_load_snapshot``.
7. Peer calls ``raft_add_node`` to add nodes as per the snapshot's membership info.
7. Peer calls ``raft_add_node`` to add nodes as per the snapshot's membership info.
8. Peer call
s``raft_node_set_voting`` to nodes as per the snapshot's membership info.
8. Peer calls
``raft_node_set_voting`` to nodes as per the snapshot's membership info.
9. Peer calls ``raft_node_set_active`` to nodes as per the snapshot's membership info.
9. Peer calls ``raft_node_set_active`` to nodes as per the snapshot's membership info.
10. Finally, peer calls ``raft_node_set_active`` to nodes as per the snapshot's membership info.
10. Finally, peer calls ``raft_node_set_active`` to nodes as per the snapshot's membership info.
When a node receives a snapshot it could reuse that snapshot itself for other nodes.
When a node receives a snapshot it could reuse that snapshot itself for other nodes.
Roadmap
=======
* Batch friendly interfaces - we can speed up Raft by adding new APIs that support batching many log entries
* Implementing linearizable semantics (Ongaro, 2014)
* Processing read-only queries more efficiently (Ongaro, 2014)
References
References
==========
==========
Ongaro, D. (2014). Consensus: bridging theory and practice. Retrieved from https://web.stanford.edu/~ouster/cgi-bin/papers/OngaroPhD.pdf
Ongaro, D. (2014). Consensus: bridging theory and practice. Retrieved from https://web.stanford.edu/~ouster/cgi-bin/papers/OngaroPhD.pdf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment