Reputation: 8006
So I have a Neptune (db.r5.large) on AWS, If I make more than 250 requests/second. I will get the error HTTP 429: Too Many Requests
.
What should I do here? I was expecting db.r5.large instance type should able handle this kind of work load, and I don't have budget to move up another instance type.
Upvotes: 0
Views: 862
Reputation: 14371
I'm adding an answer based on the comments above and some additional points.
Too many requests
exception is likely being thrown because IAM is enabled. You can test this by temporarily turning IAM authentication off and re-running your tests.Throttling exception
.The likely reason for the Too many requests
exception in your case is that you are using one of the smallest instance types and sending more work than can be handled by that instance type with IAM authentication enabled,
Upvotes: 1