All Questions
Sharding hard

In the implementation of Consistent Hashing, what specific architectural problem do 'Virtual Nodes' (VNodes) solve?

  1. A They allow a single physical server to run multiple database engine processes simultaneously to utilize all CPU cores.
  2. B They ensure that all traffic between shards is encrypted using separate session keys for each virtual partition.
  3. C They minimize the network hop count by keeping a copy of the routing table in every physical node's L3 cache.
  4. D They enable uniform load distribution by breaking the hash ring into thousands of tiny segments, accounting for servers with varying hardware capacities.

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

Get the app

Related questions