shivi
shivi

Reputation: 1

How to solve Rate Exceed error for AWS microservices?

I am doing performance testing on AWS micro services with 50 users and ramp up time is 10 seconds.

However, some of the requests are giving "rate Exceed" error. The microservices are getting the data from S3 bucket.

Upvotes: 0

Views: 60

Answers (1)

Dmitri T
Dmitri T

Reputation: 167992

  1. If you are suffering from rate limiting you need to either slow down your tests to the supported level of requests per unit of time using Pacing or a special configuration element like Constant Throughput Timer in JMeter. Another possibility is that your application is limiting the number of requests from a single IP so you might want to implement some form of IP Spoofing so each user would have its own source IP address
  2. If there is no artificial limiting of the requests rate in your application and you're getting this error from S3 you need to follow recommendations from Best Practices Design Patterns: Optimizing Amazon S3 Performance article

Upvotes: 1

Related Questions