All Questions
Sharding easy

What is the primary advantage of 'Directory-Based' sharding over 'Hash-Based' sharding?

  1. A It uses an explicit 'Lookup Table' or 'Map' service to track data locations, allowing for the granular movement of individual records without a cluster-wide rehash.
  2. B It relies on a fixed mathematical formula (like modulo) that requires no central coordination or storage.
  3. C It is significantly faster because it eliminates the need for any mathematical calculations during a query.
  4. D It avoids the need for a central registry, making it a truly decentralized architecture.

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

Get the app

Related questions