HOME
Search
Notification
Login
Replication and Sharding
Author:
| Modified:
2023-11-06 00:25
| Viewed:
255
Replication can be simply understood as the duplication of the data-set whereas sharding is partitioning the data-set into discrete parts. Sharding is a method for allocating data across multiple machines. MongoDB used sharding to help deployment with very big data sets and large throughput the operation. By sharding, you combine more devices to carry data extension and the needs of read and write operations. Replicating your database means you make imagers of your data-set. Replica sets are the clusters of N different nodes that maintain the same copy of the data set. All the secondary nodes are connected with the primary nodes. there is one heartbeat signal from the primary nodes. If the primary server goes down an eligible secondary will hold the new primary.
mongodb
0
reply
Submit
Anonymous
Reply
Author
Related Topic