4 ms·
Well without some sort of caching, his site very well could fall over when being on the front page of something like HN. Putting Varnish in front a site, even
by frankwiles 11y ago
Well without some sort of caching, his site very well could fall over when being on the front page of something like HN. Putting Varnish in front a site, even with something simple like a 1 minute cache on everything, makes you pretty much immune from having "large amounts of traffic" being a real problem.
- coleifer 11y agoExactly, thanks frank! :P
- dwightgunning 11y agoBy removing varnish aren't you now exposed to that risk once again? I feel like I am missing something.
- mfjordvald 11y agoHe would have been if it hadn't replaced the Varnish functionality with nginx. He's basically just moving functionality from Varnish to nginx and thus simplifying his stack a bit.
- Tushon 11y agoNginx can cache static content of any type, so it can act as varnish for both his blog content and images and resize them on the fly instead of relying on multiple image sizes on disk or a separate app to serve images. Nginx is a highly efficient webserver when it is already holding the items in cache (and otherwise, it passes off dynamic content just fine but that is then up to the underlying application to perform as well).