Home Uncategorized What is Database Sharding?

What is Database Sharding?

by admin
What is Database Sharding?

GHL

Get Your Free 14 Day Trial Of HighLevel Here!!

Sharding a database is a common scalability strategy used when designing server side systems. The server side system architecture uses concepts like sharding to make systems more scalable, reliable and performant.

Sharding is horizontal partitioning of data according to a shard key. This shard key determines which database the entry to be persisted is sent to. Some common strategies for this are reverse proxies.

Database interviews ask for concepts like sharding to make databases more performant and available. This makes horizontal partitioning a logical choice.

Looking to ace your next interview? Try this System Design video course! 🔥
o

Video lectures, architecture diagrams, capacity planning, API contracts and evaluation tests. It’s a complete package.

Horizontal vs. Vertical partitioning: n

Consistent Hashing:
g
/>
Sources:
6
f
m
)
Designing Data Intensive Applications – H

#database #sharding #systemdesign

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy