News for hackers. Stuff that matters.
Re:Surviving a traffic surge: Three techniques to scale your... by inji on Tuesday March 29, 2011 @09:50AM (#2382575)
Using a reversed proxy (e.g. nginx's built in, or maybe varnish) is a much easier and dynamic solution then to render things to static files.
Re:Surviving a traffic surge: Three techniques to scale your... by brycethornton on Tuesday March 29, 2011 @12:43PM (#2383321)
Agreed. Heroku makes it dead simple to use their Varnish proxy. Just set one http header and they'll cache the page for you. After that, your app doesn't do anything until the cache expires. This obviously won't work for highly dynamic pages, but for semi-static front pages/blog entries it can be a lifesaver.