Difficulty: Advanced
What is database sharding?
A type of horizontal partitioning that splits a large dataset across multiple independent databases (shards), usually based on a 'shard key' like `user_id`.
Horizontal Scaling, Partitioning, Shard Key
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.