Reputation: 1856
I want to check the autoscaling behavior of our NestJS/NodeJS application inside a cluster. I want to generate CPU and/or memory usage >70% based on requests count per second. I have tried to accumulate multiplications of random numbers on every request for 1 second but seems like requests are processed one by one and never generate too much load. What would be your suggestion?
Upvotes: 0
Views: 1227
Reputation: 136
If you are trying to basically drain the computer using nodejs, the following works for me:
Upvotes: 1