Re:How Lanyrd moved from AWS to SoftLayer and MySQL to Postg...
by simonw on Tuesday November 13, 2012 @11:02AM
(#4778646)
We have varnish at the front of our stack with a one-minute cache timeout for users without cookies - but thinking about it, there's no reason we couldn't bump that timeout up to something much higher for the duration of read-only mode (though since the servers aren't having to deal with writes they don't really need an extra performance boost).
[ Parent
| on HN ]
Re:How Lanyrd moved from AWS to SoftLayer and MySQL to Postg...
by chrismsnz on Tuesday November 13, 2012 @08:33PM
(#4781589)
Check out Varnish's configurable grace period.
It will basically instruct it to continue to serve content that it considers "stale" (up to a point) until it is able to update it.