Using a third-party tool for monitoring application performance? Make sure it’s integrated with your Atlas environment.
ATLAS
Peak Traffic Readiness Checklist
Ensure optimal application performance during peak traffic and prevent disruptions by implementing six MongoDB best practices.
High CPU Utilization
High CPU usage can indicate your MongoDB deployment is struggling with increased traffic. Set up system CPU alerts to proactively identify performance bottlenecks and take action, like scaling or optimizing queries.
High Memory Usage
Monitoring memory consumption is crucial to prevent performance issues and crashes. Set up system memory alerts for high memory usage to quickly address large datasets or inefficient queries.
Slow Query Execution
Slow-running queries can impact database performance and user experience. Set up query targeting alerts to be notified when queries may be problematic so you can identify and optimize. The query targeting alert typically occurs when no index supports a query (or queries) or when an existing index only partially supports a query.
Optimize queries and indexes
Review your application's queries and ensure they are efficient. Create appropriate indexes to speed up data retrieval and reduce the load on your database.
For less manual work, take advantage of Performance Advisor (available for M10 clusters and above) to monitor slow queries and get personalized suggestions regarding your indexes to improve query performance.