~/talk

Online Database Reliability, Performance, and Consistency Engineering

Talkat SREcon22 Asia/Pacific · 2022-12-07..12-09· [databases]
links:none on file
slides:none on file

Operating at Meta scale uses single-primary, multi-replica clusters with sharded replica sets and a Tau cache in front of MySQL; UDB uses LSM/RocksDB to save space. Implemented consensus (Raft-like) fencing to avoid split‑brain; live promotions take under a second but full rebuilds of 1TB nodes take hours so fast recloning via GTID-based catchup is essential. Detection tooling includes replication checksums, block checks, full‑table comparison scanners that found a bit‑flip causing primary/replica drift and drove targeted replica resourcing.

AI-written summary · about

  1. 0:00Intro
  2. 0:16Online Database Reliability, Performance and Consistency Engineering
  3. 4:26Sharding and Replica Set
  4. 6:45Multi Availability Zones
  5. 14:40Database Reliability Topics
  6. 18:16Avoid Split Brain
  7. 24:31Cascading Failover
  8. 31:12Common Database Overloads
  9. 34:00Identify bad queries
  10. 37:16Prevention
  11. 38:00Regressions on Database Upgrades
  12. 38:23Fleet Management
  13. 39:40Database Correctness with Replication
  14. 40:26Example of Correctness Expectations
  15. 41:27How databases can become inconsistent
  16. 42:02Can database find data errors automatically?
  17. 47:02A Primary-Replica data drift case
  18. 48:07Takeaways
~/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.