All Questions
Scaling Writes hard

Google BigTable and CockroachDB use Range Sharding (splitting data by alphabetical ranges). How do they handle a 'Hot Shard' that grows too large?

  1. A They reject writes.
  2. B Dynamic Splitting: The system detects the tablet size/load limit and automatically splits the range into two smaller ranges, moving one to a different node.
  3. C They switch to Hash Sharding.
  4. D They compress the data.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions