~/talk

Deep Dive: Vitess

Talkat KubeCon + CloudNativeCon Europe 2019 · on Thursday, 2019-05-23· at 14:50· CC7.1· [databases, kubernetes]
slides:none on file

Vitess runs a sharded MySQL fabric across three Kubernetes clusters using VTGate and VTTablet plus Orchestrator and a topo server (etcd/zookeeper); the demo brings up shards with no persistent disks, uses S3 backups, Prometheus metrics and semi‑sync replication, kills pods and an entire EU region, and automatically elects new masters. Recovery takes about 2 minutes in the demo (can be tuned down toward 9 seconds), and at YouTube scale Vitess ran 256 shards with 80–120 replicas across 20 cells, proving automated failover works end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Who are you
  3. 2:28Vitess Architecture
  4. 10:00The App
  5. 11:30The Architecture
  6. 15:00Test Dashboard
  7. 15:45Automatic Ratings
  8. 16:05VT Gate Interface
  9. 16:40Orchestrator
  10. 17:05Replicas
  11. 17:20Planned Reparent
  12. 17:45Repack
  13. 18:10Switching between nodes
  14. 18:40Things fail
  15. 19:30Deleting
  16. 20:35Rate
  17. 20:55Health checks
  18. 21:25Master tablet fail
  19. 21:45Orchestrator failed
  20. 22:00Killing the master
  21. 23:00Inserts fail
  22. 23:30Orchestrator recovery
  23. 23:55New master selection
  24. 25:10What if a whole data center goes down
  25. 25:20Example
  26. 27:30Failover Mode
  27. 28:50Recovery Procedure
  28. 29:20VT Gate
  29. 29:35Back to Terminal
  30. 30:00Google shenanigans
  31. 30:20Database recovery
  32. 31:00Questions
  33. 31:25catastrophic failures
  34. 33:05What happens if I lose the master
  35. 34:55Compatibility
  36. 36:35Sharding
  37. 39:25Buffering
  38. 40:30GT IDs
  39. 41:25Will it work with managed database systems
  40. 42:50Orchestration configuration
~/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.