How to increase rate limit for M2 cluster

I have a consumer social app powered by mongodb and I’m seeing that it’s not difficult to hit the rate limit of 100 requests per minute due to concurrent users. Is there a way to increase this limit apart from self-hosting my own mongodb server? I’m currently using an M2 cluster. Thanks in advance :slight_smile: .

Hi Paul,

Welcome to the MongoDB Developer Community! You can increase the rate limit by upgrading your cluster. Free and Shared Tiered Clusters (like the M2) are subject to configuration limits.

Please also check that you’ve configured the Connection Pool for your driver. For M2 clusters, you should be able to configure the limit to be 200 as defined in cluster configuration limits.

Hope this helps!
Richa

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.