Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying High Performance with MongoDB
  • Table Of Contents Toc
High Performance with MongoDB

High Performance with MongoDB

By : MongoDB Inc., Asya Kamsky, Ger Hartnett, Alex Bevilacqua
close
close
High Performance with MongoDB

High Performance with MongoDB

By: MongoDB Inc., Asya Kamsky, Ger Hartnett, Alex Bevilacqua

Overview of this book

With data as the new competitive edge, performance has become the need of the hour. As applications handle exponentially growing data and user demand for speed and reliability rises, three industry experts distill their decades of experience to offer you guidance on designing, building, and operating databases that deliver fast, scalable, and resilient experiences. MongoDB’s document model and distributed architecture provide powerful tools for modern applications, but unlocking their full potential requires a deep understanding of architecture, operational patterns, and tuning best practices. This MongoDB book takes a hands-on approach to diagnosing common performance issues and applying proven optimization strategies from schema design and indexing to storage engine tuning and resource management. Whether you’re optimizing a single replica set or scaling a sharded cluster, this book provides the tools to maximize deployment performance. Its modular chapters let you explore query optimization, connection management, and monitoring or follow a complete learning path to build a rock-solid performance foundation. With real-world case studies, code examples, and proven best practices, you’ll be ready to troubleshoot bottlenecks, scale efficiently, and keep MongoDB running at peak performance in even the most demanding production environments.
Table of Contents (20 chapters)
close
close
18
Index
19
Other Books You May Enjoy

Managing blocked operations

Blocked operations can occur when a process must wait for another operation to complete or for a resource to become available, creating a domino effect that can severely impact your application’s responsiveness. Understanding what causes operations to block is essential for maintaining optimal database performance. Recognizing these patterns early allows you to implement preventive measures before they impact your users’ experience.

Typical causes of blocked operations in MongoDB include the following:

  • Long-running operations with exclusive locks, such as index builds or collection drops
  • Resource contention, where multiple operations attempt to access the same collections or documents, especially during peak usage
  • Connection pool exhaustion, which occurs when all available connections are in use and new operations must wait, creating artificial queuing

Blocking-like symptoms from non-blocking issues...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
High Performance with MongoDB
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon