So far, we’ve been concentrating on managing performance by optimizing application code and database design. In an ideal world, this is where we start our tuning efforts, by optimizing the application we make MongoDB work smarter, not harder. We reduce the amount of effort MongoDB has to do to achieve a task by optimizing our schema, application code, and indexes.
However, there may come a time when you’ve done all the practical application tuning possible. Furthermore, there are occasions where you don’t ...