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.
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.
Th final matrix is totally on point, Vivek!
Thankyou Raul 🙌
Very insightful 👍!!
Detailed and Very clearly broken down, Thank you for sharing this Vivek
Revisiting the article and found out I missed to like it :D
Thanks for this one!
Informative & succinct, Vivek !
So, it means that in sharding, we are just having replica of data while in partitioning, the dataset is divided ?
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.
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.
https://substack.com/@nikhilkhandelwal/note/p-164285671?utm_source=notes-share-action&r=1yg8z6
This was very insightful. Thanks for sharing!
Very insightful. Thank you 👏👏
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.
https://open.substack.com/pub/nikhilkhandelwal/p/mastering-javascript-hoisting-and?r=1yg8z6&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false
Appreciate the breakdown!
It’s very insightful 😇
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.
Yes replication can not be called shardjng.