-
Book Overview & Buying
-
Table Of Contents
The Official MongoDB Guide
By :
MongoDB is designed to support the evolving needs of modern applications through a developer-centric data platform based on a set of core architectural principles. In this chapter, we’ll explore the architectural framework that powers MongoDB, with a particular focus on two foundational concepts: replication and sharding.
Replication plays a vital role in MongoDB’s distributed design by enhancing both availability and fault tolerance. By maintaining several copies of your data across multiple servers, MongoDB ensures that your application can continue functioning even if one server fails.
Sharding is a horizontal scaling strategy for spreading data across several machines, called shards. Each shard stores a portion of the total dataset on a separate database server instance. As applications grow in popularity, and the volume of data they produce increases, scaling across machines becomes essential to ensure sufficient read and write throughput...