19 Comments
User's avatar
Raul Junco's avatar

Th final matrix is totally on point, Vivek!

Expand full comment
Vivek Bansal's avatar

Thankyou Raul 🙌

Expand full comment
Aditya Kumar Singh's avatar

Very insightful 👍!!

Expand full comment
Michael Ojekunle's avatar

Detailed and Very clearly broken down, Thank you for sharing this Vivek

Expand full comment
Junaid Effendi's avatar

Revisiting the article and found out I missed to like it :D

Expand full comment
Alexandre Zajac's avatar

Thanks for this one!

Expand full comment
Paras Chawla's avatar

Informative & succinct, Vivek !

Expand full comment
Ayush Srivastava's avatar

So, it means that in sharding, we are just having replica of data while in partitioning, the dataset is divided ?

Expand full comment
Najim Ali's avatar

When we don’t do Partition & do Sharding (Matrix 3rd quadrant) then it is complete data replica. It totally depends on your business requirements, Quadrant 3 is more suitable when data can be fit in single database server but read traffic is high & you need data base availability.

Expand full comment
Aditya Mahajan's avatar

Designing Data-Intensive Applications - Pg.199

Terminological confusion

What we call a partition here is called a shard in MongoDB, Elasticsearch,

and SolrCloud; it’s known as a region in HBase, a tablet

in Bigtable, a vnode in Cassandra and Riak, and a vBucket in

Couchbase. However, partitioning is the most established term, so

we’ll stick with that.

Expand full comment
Trishala Swain's avatar

This was very insightful. Thanks for sharing!

Expand full comment
Michael Asomugha's avatar

Very insightful. Thank you 👏👏

Expand full comment
Fejan Malek's avatar

Quadrant 3 <Sharding: Yes & Partitioning: No>

In this scenario we can also say that master slave design correct me if I am wrong.

Nice post by the way.

Expand full comment
Cully Wakelin's avatar

Appreciate the breakdown!

Expand full comment
roli agrawal's avatar

It’s very insightful 😇

Expand full comment
Dennis Onyango's avatar

Really confused about the difference, could it be correct if i say database sharding is database replication, However, if i say that, it would be wrong because a shard might contain records not available in another shard.

Expand full comment
roli agrawal's avatar

Yes replication can not be called shardjng.

Expand full comment