Database sharding
Splitting data across nodes, picking a shard key, and what breaks. Answers are graded on the server.
50 questions · page 1 of 10
0 of 50 answered
Question 1 · Multiple choice
What is the main goal of sharding a database?
Question 2 · Multiple choice
Why does the choice of shard key matter so much?
Question 3 · Scenario
A multi-tenant SaaS app shards by tenant_id. One enterprise customer is 1000x larger than everyone else and its shard is overloaded. What's the standard fix?
Question 4 · Scenario
An application needs to join orders with their customers, but orders and customers live on different shards (sharded independently by their own id). What changes?
Question 5 · Multiple choice
Consistent hashing is popular for sharding because it mainly solves what problem?