I have a solution in asp.net-core 3.1. When I run stress testing, it consumes no more than 20-30% cpu. I have tried increasing worker processes but still it gives a constant throughput and does not consume resources. Any suggestion on what I am doing wrong here?
OS: Windows server 2012 CPU: 16 cores RAM: 64 GB
I have faced the same scenario before and Microsoft Application Insights was so helpful. It will show you
So if you have any dependency call for example http/database call having any performance issue it will appear. For JMeter i tried to run the stress test from my local machine and found that i set for example 50 concurrent users but actually the ones hitting the application is only 20. So we needed to run the Jmeter from multiple machines.
Another Idea also you can turn off caching if you are caching the results so you are sure that your are always hitting the dependencies.