O'Reilly logo

MongoDB High Availability by Afshin Mehrabani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Analyzing and Improving Database Performance

After learning replication, sharding, and clustering solutions in MongoDB, in this chapter, we will review the possible ways and methods to improve the response time and performance of read/write operations. Improving the performance of the database depends on several parameters, so it's difficult to pack everything in a single chapter. Nevertheless, we will discuss topics related to performance improvement one by one.

Understanding profiling

To deal with poor performance in an application, we need a tool to find the problems and address the issues. In this chapter, we will focus on profiling, which is a popular method to debug and find the areas that affect performance in a program.

Note

In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required