~/talk

The hows and whys of a distributed SQL database

Talkat Strange Loop 2017 · 2017-09-28..09-30· [databases]
slides:none on file

Describes a working open-source distributed SQL engine (CockroachDB) that combines ordered range sharding (ranges ≈64–128MB) with per-range replication (typically three replicas) using Raft consensus to commit via a single group write, and MVCC plus conflict detection for serializable transactions. Gives concrete trade-offs: hundreds of thousands of ranges for terabytes of data, one network hop to quorum commits, complexity in rebalancing and member changes, and practical engineering techniques that make the system durable and strongly consistent.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28History
  3. 1:49Primitive databases
  4. 2:52The relational model
  5. 4:09Objectoriented databases
  6. 5:20Database sharding
  7. 6:54No sequel databases
  8. 8:06Distributed sequel databases
  9. 9:26Why these systems are being built
  10. 10:05The two primary systems
  11. 10:25The question of how
  12. 11:00Disclaimer
  13. 11:36Data Distribution
  14. 14:16Order Preserving
  15. 15:19Range Indexing
  16. 16:11Range Scan
  17. 16:22When to Split
  18. 18:43When to Up Replicate
  19. 19:42Primary Secondary Replication
  20. 21:49Eventually Consistent
  21. 23:18Distributed Consensus
  22. 25:04Raft
  23. 27:03When things dont go well
  24. 28:12Engineering complications
  25. 29:20Transactions
  26. 29:43Consistency
  27. 30:56Atomicity
  28. 33:00MVCC
  29. 34:35No sequel transactions
  30. 35:21Distributed sequel
  31. 37:06Starting a transaction
  32. 38:34Conflicts
  33. 38:47Write Conflict
  34. 38:59Detect Conflict
  35. 40:01Push or abort
  36. 40:11Intent
  37. 40:26Summary
  38. 41:45Outro
~/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.