DB sharding is an important concept in the system design and a topic that is brought up often during interviews. No matter what you are specialized in, front-end, infra, or mobile. This is something worth having a decent understanding.

Definition

Sharding is to split data into smaller chunks(or shards), where each shard can be on different machines.

Why Sharding?

  • Data is too large to hold everything into one table on one mache. For example, users’ tweets, there are millions of new tweets generated everyday.
  • System need distributed processing to speed up data handling performance

#sharding #database #system-design-interview #software-engineering

3-Min Intro of Database Sharding
1.35 GEEK