~/talk

Consistent, Distributed Elixir

Talkat ElixirDaze 2018 · 2018-03-01..03-02· [databases]
speakerdeck:keathley
slides:none on file

Claims a working Raft implemented in Elixir that provides strong consistency for state machines, demonstrates a replicated distributed lock across a three-node cluster with leader election and quorum commits, and shows live failover and recovery. Uses a RocksDB-backed durable log for replication and snapshotting, exercises consensus semantics (majority quorum, leader/follower, elections), and is validated with property tests. The demo succeeds: writes replicate, partitions yield errors on non‑leaders, and healed nodes catch up.

AI-written summary · about

  1. 0:00Start
  2. 2:13ELIXIR IS AWESOME
  3. 5:24PROBLEM: "WE NEED TO LIMIT ACCESS TO AN EXTERNAL RESOURCE"
  4. 10:16PROBLEM: "WE NEED TO RUN MULTIPLE NODES"
  5. 20:31PROBLEM: "WE NEED TO KEEP TRACK OF COUNTS"
  6. 24:15PHOENIX PRESENCE
  7. 25:04SOME PROBLEMS NEED CONSISTENCY DISTRIBUTED LOCKING DATABASES DISTRIBUTED SCHEDULING AND COORDINATION CONFIGURATION AND METADATA STORAGE TRANSACTIONS
  8. 26:37CONSENSUS
  9. 33:45HOW DOES THIS WORK?
  10. 37:53TESTING PROPERTY TESTS JEPSEN
  11. 38:32WHAT CAN WE DO NOW?
  12. 38:43KV STORE SERVICE DISCOVERY DISTRIBUTED LOCK MANAGER DATABASE TRANSACTIONS CONFIGURATION MANAGEMENT
  13. 39:13TONIO
  14. 40:06TODO MORE TESTING BETTER OPERATIONS DOCUMENTATION LMDB STORAGE ADAPTER
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.