Scaling with Confidence: Introducing Standardized Atlas Admin API Rate Limiting
Blog post from MongoDB
MongoDB has announced the general availability of standardized rate limiting for the Atlas Admin API v2, enhancing predictability and reliability for managing database clusters at scale. This update introduces a token bucket algorithm to standardize rate limits across API endpoints, providing clear operational boundaries while allowing flexibility for handling bursty traffic. The new system offers real-time visibility through standardized headers, such as RateLimit-Limit and RateLimit-Remaining, and supports resilient automation by allowing scripts to handle errors with intelligent retry logic. This change is designed to protect the Atlas ecosystem from surge loads while enabling developers and DevOps engineers to build smarter clients with predictable performance and reduced manual intervention. The update also includes guidance on handling "429 Too Many Requests" errors, suggesting strategies like exponential backoff with jitter for retrying requests. Users can audit their current usage through a new rateLimits endpoint and, if necessary, contact support to adjust rate limits for specific use cases.