Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Sharding is an effective strategy for maintaining high read and write performance on large data sets. MongoDB’s sharding works well in numerous production deployments, and can work for you, too. Instead of having to worry about implementing your own half-baked, custom sharding solution, you can take advantage of all the effort that’s been put into MongoDB’s sharding mechanism. If you follow the advice in this chapter, paying particular attention to the recommend deployment topologies, the strategies for choosing a shard key, and the importance of keeping data in RAM, then sharding will serve you well.