In almost all applications, the majority of database time is spent in data retrieval. A document can only be inserted or deleted once, but will typically be read many times between updates, and even updates must retrieve the data before performing their work. Therefore, much of our MongoDB tuning efforts focus on finding data and in particular the find() statement, which is the workhorse of MongoDB data retrieval.
Caching Results
Back in the dim dark days when Guy worked primarily with SQL-based databases, a wise ...