musings on tuning nginx for production.
The nginx default settings are a stroke of accedental or maybe intentional genius. They are so under powered that it is actually amazing they worked for me for as long as I had them. I assume it is this way so that it forces admins to actually pay attention and tune it for production environments. I run an open bittorrent tracker that tracks somewhere upwards of several million peers concurrently and I use nginx as my load balancer for the http side of it.
everything is fire
a few days ago i noticed that the box i was running this massive open tracker on was dogpiling and had a backlog of over 1K connections in the workers in the writing state. after putting nginx performance tuning
into the web search, i came to the realization that you are actually supposed to tune nginx for production enviroments because the defaults are …