Exploring the replication and sharding in MongoDB
Redundancy and high availability are the basis for all production deployments. Database systems with large data sets or high throughput applications can challenge the capacity of a single server like CPU for high query rates or RAM for large working sets. Adding more CPU and RAM for vertical scaling is limited. Systems need horizontal scaling by distributing data across multiple servers. MongoDB supports horizontal scaling through sharding. Each shard consist of replica set that provides redundancy and high availability. In this session we will cover: - What is a sharded cluster in MongoDB - Cluster components - mongos, config servers and shards/replica sets - What is replica set, how replication works, replication concepts - Replica set features, deployment architectures - Shard keys and chunks - Hashed vs range based sharding - Reads vs Writes on sharded cluster
Lead Database consultant, Pythian
Igor is MongoDB Certified DBA supporting the next-generation of database solutions in both MySQL and MongoDB. With a masters degree in Software Engineering, Igor enjoys the variety of challenges he faces while working at Pythian, rather than working on the same thing every day. When he's not working, he can be found running or hiking.