← Mastercard questions
System DesignReported in a candidate post, May 2024

Sharding and consistent hashing

Filed under Mastercard

Explain database sharding and consistent hashing: why data is partitioned across nodes, how keys are mapped to shards, and why consistent hashing is used when nodes are added or removed.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Mastercard questions

Collected from public candidate posts and coding forums. Updated Nov 2026.