I'm trying to configure an NGINX server that's sole purpose is to serve as many 10k JPEGs as it can. I have 16 GB RAM and 2 Intel Xeon E5506 processors, running CentOS.
I'm looking to configure this server in order to serve as many concurrent connections, each delivering a 10 kB JPEG image. Hence, the time of the connection would be very short.
Any ideas would be nice. Thanks.
For many small concurrent connections, all you should have to do is increase the worker pool size to improve the ability of nginx to handle all the concurrent connections without slowdown. There really isn't much other tuning to be done; nginx is wicked fast at handling static files.