~/talk

When and How Should you Shard?

links:none on file
slides:none on file

Explains when sharding actually speeds queries or writes, and how to pick a shard key with measurable evidence: turn the profiler to full, parse logs with pt-mongodb-query-digest, replay traffic with MongoDB Replay or Facebook Flashback against a cloned cluster, then measure balancing and SLAs. Gives concrete limits: chunks move in 32–64MB batches (up to ~250k docs), hash keys hurt past 5–6 shards, arrays and nulls are forbidden and resharding requires delete-and-reload.

AI-written summary · about

  1. 0:00Sharding concepts
  2. 1:04Why shard your database
  3. 5:22Choosing shard key
  4. 8:53Proving shard key choice
  5. 13:26Validating shard key
  6. 17:04Rules for shard key
  7. 20:37Validating sharding
  8. 23:03Q&A
~/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.