All Questions
Sharding hard

In a professionally managed sharded system, why is it considered vital to decouple 'Logical Shards' (buckets) from 'Physical Shards' (servers)?

  1. A It allows the system to support multiple different operating systems within the same database cluster.
  2. B It ensures that the database remains compatible with older SQL versions while the physical hardware is upgraded.
  3. C It provides 'Dynamic Resizability'. By having 10,000 logical buckets sharded across 10 servers, you can easily grow to 20 servers just by moving 5,000 buckets, without rehashing the entire database.
  4. D It is a requirement for meeting SOC2 and GDPR compliance regarding data isolation.

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

Get the app

Related questions