I am trying to do a load test to emg. I am sending 3K requests/sec. It is allowing maximum 900 req/sec. No failures but response time is increasing. I also set the “nodelay” property as true to avoid buffer. Cpu usage is also 60-70% throughout the test. Can explain what is happening behind this? How to stop buffering of requests?
@Dino @Anil Sagar @ Google
I dunno, but benchmarking is hard. Here's what I suggest.
Can I please get some more information?
Hi Srinandas,
Answers to your question:
1. I am using AWS Ec2 Instances of type t2.micro and t2.medium. I have increased the ulimit of the instances to 4k.
2. I am using "Locust" software to generate the load.
3.
Can I please see the OAuth stanza? I want to make sure the token is cached. That will improve the performance.
t2.micro is rather small (1 vCPU and 1 GB RAM).
Lastly, how many clients/consumers are you starting? What does the output netstat say? I would like to know the number of TIME_WAIT and LISTEN TCP connections.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |