Deploying MongoDB in Production
Running MongoDB in production can be challenging.
In this tutorial, we will cover how to configure the database, and how to parse and interpret logs and metrics to make your day by day easier.
We will learn how to:
Interpret the MongoDB logs and server status output
Use "currentOp" command to check current queries running
Use the Database Profiler
Configure Linux for production, including OS parameters, network parameters, and disks configurations
Safely run maintenance in replica sets and shards
Create indexes without performance degradation
Pick the right shard key, and when and why to use shard tags
Use benchmark and load replaying tools
Choose the best backup method
Monitor your system with PMM
Evaluate if your application can take advantage of transactions in 4.0
Configure Change Streams and get notifications with a few lines