← Quiz: Consistent Hashing: all 15 questions
Quiz: Consistent Hashing · Question 6 of 15
A server with double the RAM should hold double the keys. How do you do this with consistent hashing?
A server with double the RAM should hold double the keys. How do you do this with consistent hashing?
- A.Hash its name twice
- B.Give it twice as many virtual nodes
- C.Put it at position 0 on the ring
- D.Use hash % 2 for that server
Answer & explanation
Correct answer: Give it twice as many virtual nodes
Each virtual node is a share of the ring, so more virtual nodes means more keys.
Can you get the rest right without peeking?
Take the timed Quiz: Consistent Hashing quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →