Posted on 2018-03-25 by jwage
This feature allowed us to start serving static files directly through nginx instead of going through our application to generate the requested size. Now, InstartLogic does all the resizing work for us and our backend PHP servers are relieved of this responsibility.
This was a nice win for us but it introduced a slight new problem. Nginx started complaining about “Too many open files”. This was easily fixed for us by setting the
worker_rlimit_nofile setting in the
nginx.conf file to 30000.
After this change our backend PHP servers have a lighter load and the first request for an image through the CDN is much faster.