~/talk

Scaling YouTube's Backend: The Vitess Trade-offs

Talkat @Scale 2014 · on Monday, 2014-09-15· [databases, distributed-systems]
slides:none on file

Vitess is a Go-based MySQL sharding and routing system that YouTube runs in production since 2011, built around VTTablet (proxy + connection pooling + query parser) and VGate (query router). It automates reparenting (~30s reparent with a 5s goal), supports automated reshard/split, uses Zookeeper for topology, keeps a consistent primary-key row cache via replica binlog subscriptions, and handles spikes (one service accepts ~60,000 connections). Open source, MariaDB-compatible, and operational at web scale.

AI-written summary · about

  1. 0:00Intro
  2. 2:53Start off simple
  3. 3:19Add replicas
  4. 8:23Chop and Slice
  5. 10:33Add data centers
  6. 13:21Vitess journey
  7. 14:38Vitess components
  8. 16:27Vitess lock server (zookeeper)
  9. 19:47The big picture
  10. 20:41What does vttablet do?
  11. 28:37Query service: efficiency
  12. 31:14Query service: failsafes
  13. 32:07Query service: enrichment
  14. 35:03Production ready, runs well
  15. 36:27The sweet spot
  16. 36:53We're excited!
  17. 38:37Crazy ideas
  18. 43:09The team
  19. 45:14Questions?
~/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.