Tuesday 6 June 2017

PM2 NodeJs Cluster Mode

I have 4 ec2 instances running on AWS. PM2 is running in cluster mode on all instances. When I get 5K+ Concurrent request, response time of app increases significantly.

All requests fetch redis key, and a normal fetch takes upto 10 seconds which without so many concurrent requests takes only 50ms. What can be issue here?



via Swapnil Saurav

No comments:

Post a Comment