3 ms·
Thanks for sharing the stats! Are you still operating PDFy on a 512MB RAM VPS? Did you have to do any optimizations to the web server config to handle the traff
by amjd 12y ago
Thanks for sharing the stats! Are you still operating PDFy on a 512MB RAM VPS? Did you have to do any optimizations to the web server config to handle the traffic?
- joepie91_ 12y agoYup, it's still running on the same VPS. I do plan on offloading PDF file serving eventually, to a 'CDN' of sorts that I'm working on, but that's more for storage space reasons (especially cost-wise). The only real 'optimization' was this classic one: server.max-fds = 2048 If you forget that, you're going to have a very bad time when you get hit by a serious traffic surge :) The full configuration is here: https://gist.github.com/joepie91/e5bd63710b5910d2287a https://gist.github.com/joepie91/e5bd63710b5910d2287a It's really just a mostly standard config, some things pieced together. PHP is configured in on-demand mode, though - iirc, the default PHP configuration that ships with lighttpd on Debian is not.