Use this fast and complete guide to optimize the performance of Mongo DB databases and the applications that depend on them. You will be able to turbo-charge the performance of your Mongo DB applications to provide a better experience for your users, reduce your running costs, and avoid application growing pains. Mongo DB is the world’s most popular document database and the foundation for thousands of mission-critical applications. This book helps you get the best possible performance from Mongo DB.
Mongo DB Performance Tuning takes a methodical and comprehensive approach to performance tuning that begins with application and schema design and goes on to cover optimization of code at all levels of an application. The book also explains how to configure Mongo DB hardware and cluster configuration for optimal performance. The systematic approach in the book helps you treat the true causes of performance issues and get the best return on your tuninginvestment. Even when you’re under pressure and don’t know where to begin, simply follow the method in this book to set things right and get your Mongo DB performance back on track.
What You Will Learn
- Apply a methodical approach to Mongo DB performance tuning
- Understand how to design an efficient Mongo DB application
- Optimize Mongo DB document design and indexing strategies
- Tune Mongo DB queries, aggregation pipelines, and transactions
- Optimize Mongo DB server resources: CPU, memory, disk
- Configure Mongo DB Replica sets and Sharded clusters for optimal performance
Who This Book Is For
Developers and administrators of high-performance Mongo DB applications who want to be sure they are getting the best possible performance from their Mongo DB system. For developers who wish to create applications that are fast, scalable, and cost-effective. For administrators who want to optimize their Mongo DB server and hardware configuration.
Table of Content
Part I. Methods and Tools.- 1. Methodical Performance Tuning.- 2. Mongo DB Architecture and Concepts.- 3. Tools of the Trade.- Part II. Application and Database Design.- 4. Schema Modelling.- 5. Indexing.- Part III. Tuning Mongo DB Code.- 6. Query Tuning.- 7. Tuning Aggregation Pipelines.- 8. Inserts, Updates and Deletes.- 9. Transactions.- 10. Server Monitoring.- Part IV. Server Tuning.- 11. Memory Tuning.- 12. Disk IO.- 13. Replica Sets and Atlas.- 14. Sharding.
About the author
Guy Harrison is CTO at Proven DB, a partner at Toba Capital, and a software professional with more than 20 years of experience in database design, development, administration, and optimization. He is the author of
Next Generation Databases (Apress) and other books and articles on database technology. He is a Mongo DB certified DBA and developer, and an Oracle ACE.
Michael Harrison is the lead developer at Proven DB, working intimately with Mongo DB from both an application and database perspective. He is a co-author of
The Mongo DB Workshop as well as senior developer of DBKoda, an open-source development environment for Mongo DB.