© Nicholas Cottrell 2020
N. CottrellMongoDB Topology Designhttps://doi.org/10.1007/978-1-4842-5817-0_11

11. Extreme Sharding

Nicholas Cottrell1 
(1)
St-Aubin-sur-Mer, France
 

This chapter goes even deeper into sharding specifics and introduces configurations that can increase write throughput when faced with hardware constraints. We also look at partitioning user data to adhere to data protection regulations, minimize costs, and optimize reads across shards.

Review

In most cases, a sharded cluster without zones or other size restrictions will automatically balance chunks of data by migrating them from a “heavy” shard with too many chunks to one with fewer chunks.

More shards

If you start hitting performance issues and have ruled out any application or ...

Get MongoDB Topology Design: Scalability, Security, and Compliance on a Global Scale now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.