2000 clients/Second on WordPress (I couldn't even manage 100users/second before)
CPU usage average under load 60%
RAM usage under load 1.2GB
Slowly by slowly...I'm managing to optimize Nginx on aaPanel.
So far,
- FastCGI
- Nginx Microcaching
- W3TC (With Nginx configuration)
- Minor tweaks on nginx.conf
- Cloudflare (Reduced server response time from 250ms to around 140ms)
**** Tried using Page Speed module but it increases CPU usage by almost 300%. So I removed it.
Raw results: https://bit.ly/3AIwRyW
FOLLOW UP UPDATE:
Minor adjustments on the following has helped boost the response time by around 10% from averages of 140 ms to 120ms.
- Worker processes
- Worker connections
- Manually adding CPU affinity
CPU usage also improved by almost 100%. From the previous usage of 60% down to a usage of 35% (Biggest WIN)
Raw results: https://bit.ly/3ACZM7N
Next target: So far server can handle 2,500 clients/second but consistency is not that good. It's still excellent though. I hope I will be able to reach the level of CyberPanel's 3,500 clients/second on the same server.
Working on improving that
THEORETICALLY: The results below is 2,500 clients/second tested at 2,200 clients/second
Raw results: https://bit.ly/2VRio52
ANOTHER UPDATE: I have successfully managed to pass the 2500 clients/second limit.
BIGGEST IMPROVEMENT: CPU usage down by 100% from the previous 40% yo now 20% under this load.
Now the server is theoretically supporting 5000 clients/second. My target is a clean 3000 clients/second.
Will keep on testing and optimizing:
Raw results: https://bit.ly/3AFfm2G