In mongodb, how sharding and replication work together?
Answer Posted / Gurucharan Singh
Sharding is a method used to horizontally partition data across multiple MongoDB instances for improved scalability. Replication, on the other hand, is used to maintain copies of data across multiple servers for better fault tolerance and availability. In MongoDB, sharded clusters combine both sharding and replication features, allowing you to store multiple copies of each document across several shards while still maintaining the performance benefits of horizontal scaling.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers