trimstray / nginx-admins-handbook

How to improve NGINX performance, security, and other important things.
MIT License
13.48k stars 1.08k forks source link

Deploy nodejs server on reverse proxy nginx is slow #26

Open SudoDios opened 2 years ago

SudoDios commented 2 years ago

I create a nodejs http server and using autocannon to loadtest. When I use this node server without a nginx proxy, the requests reach 137k per second. But when I use it with nginx reverse proxy, it reaches 60k per second. Why ???? please help me.🙏