~/talk

To Shard or Not to Shard

Talkat Percona Live 2016 · 2016-04-18..04-21· [databases, software-architecture]
slides:none on file

Argues most apps avoid sharding because a single MySQL box routinely reaches 100,000 qps and a 3M DAU example maps to ~31k peak queries, so sharding is often premature. Lists concrete pains: development complexity, operational split/reshard work, schema rollout headaches and weird failure modes. Recommends delaying via replication, caching (Memcached/Redis), queues (Redis/RabbitMQ/Kafka), materialized tables, or clustering like Percona XtraDB Cluster and proxies/Vitess/MaxScale; notes sharding’s real benefits: extreme scale, isolation and cost tuning.

AI-written summary · about

  1. 0:00Story
  2. 1:35First things to decide
  3. 2:17Single MySQL Can Do
  4. 3:41Let's do some math
  5. 4:48Avoided Sharding
  6. 5:32Sharding Pains
  7. 7:37MySQL Sharding
  8. 8:27Can't Avoid?
  9. 9:18Strategies to Delay Sharding
  10. 9:29Architecture
  11. 10:33Functional Partitioning
  12. 12:19Replication
  13. 13:25Caching
  14. 16:57Queueing
  15. 19:06Beyond MySQL
  16. 19:40Optimize!
  17. 20:18Hardware
  18. 23:36Environment
  19. 24:56Configuration
  20. 25:57Sharding - When?
  21. 26:41Architectural Runway
  22. 28:27Capacity Planning
  23. 29:53Benefits of Sharding
  24. 31:30Avoid other complexities
  25. 32:30Isolation
  26. 33:43Costs
  27. 34:45When to Shard Summary
  28. 36:23Sharding Questions
  29. 36:34Sharding Level
  30. 37:46Sharding Key(s)
  31. 39:29Sharding Unit
  32. 41:08Sharding HA
  33. 42:01Sharding Technology
  34. 45:15In Summary
  35. 45:41Thank you!
~/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.