'Mongo DB - Not supporting Huge spikes with Frequent REST API calls
The SPRING BOOT application is with MongoDB in the testing environment with the cluster configuration of M10 (2 GB RAM, 8 GB Storage). During the automation testing , REST API hits DB in the rate of 380 calls(nearly) in a span of 2 mins. For this little DB , the kind of hits are very huge.
As a result , any hit to REST API results in 500 error.
I would expect the suggestion from experts here
Anything , we can restrict the REST API access level like API rate limiting?
Azure policy is used to connect to Mongo DB. Anything , we can change in the policy file to restrict the access?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
