Saturday, 8 February 2020

PM2 with cluster mode became slower. Why?

I've a NodeJs app and tried performance testing on it with 100 concurrent users sending 100 requests concurrently each. (So a total of 10k write requests) When I ran it in non - cluster mode, it took 35 seconds to execute but in cluster mode with 3 workers it took 45 seconds. Execution time was supposed to decrease increasing the performance which didn't happen. Why?

Submitted February 09, 2020 at 04:23AM by adithyakv100

No comments:

Post a Comment