All Questions
Sharding easy

Does 'Sharding' a database automatically protect the system against a 'Single Point of Failure' (SPOF)?

  1. A Yes, because the data is now spread across multiple servers, making the system naturally indestructible.
  2. B No. Sharding only scales capacity. If Shard 1 fails and has no 'Read Replica', all the data held on that specific node becomes immediately unavailable to the entire system.
  3. C Yes, because every shard automatically maintains a mirror copy of all other shards in the cluster.
  4. D Only if the database is configured to use the UDP protocol instead of TCP.

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

Get the app

Related questions