Re:Ask HN: How would you handle a large traffic spike (eg. b...
by iMerNibor on Sunday May 14, 2017 @09:37PM
(#14338533)
Caching!
Cache responses where possible and have the webserver serve it instead of going to a dynamic backend (php, node, ruby, python, ...).
Not worked with apache for a while (it is probably sufficiently configurable too), but nginx is quite resilient and makes "basic" caching very easy (proxy_cache and fastcgi_cache should cover you)
Not worked with apache for a while (it is probably sufficiently configurable too), but nginx is quite resilient and makes "basic" caching very easy (proxy_cache and fastcgi_cache should cover you)