~/talk

Practical Distributed Consensus using HashiCorp/raft

Talkat HashiConf 2017 · 2017-09-18..09-20· [distributed-systems, go]
links:none on file
slides:none on file

Claims that hashicorp/raft Go library gives a production-tested way to build replicated state machines, demonstrated by a three-node replicated integer store using TCP for Raft traffic and HTTP for clients. Code shows a finite state machine applying JSON log entries, bootstrapping a leader, and a single-line Apply ensures replication before commit; the minimal example is under 200 lines. Notes that Consul and Nomad use the same library and that implementations have scaled to tens of thousands of nodes.

AI-written summary · about

  1. 0:00Introduction to distributed consensus
  2. 2:27Paxos and Raft background
  3. 5:41How Raft works explained
  4. 9:18HashiCorp Raft library overview
  5. 11:36Minimal Raft example setup
  6. 16:24Bootstrapping a Raft cluster
  7. 18:59Cluster formation and replication
  8. 20:04Client requests and state updates
  9. 22:55Log replication and state management
  10. 24:17Real-world Raft use cases
  11. 25:43When to use Raft in practice
  12. 26:46Understanding Consul with Raft
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.