Re:How Lanyrd moved from AWS to SoftLayer and MySQL to Postg...
by jballanc on Tuesday November 13, 2012 @10:57AM
(#4778608)
This is excellent advice! I can't tell you the number of times I've worked on projects where I wished just such a "read-only" mode existed. As an added benefit if you have a read-only version of your site, I know at least Akamai (and possibly their competitors) has a service where even if your origin server disappears, they will continue to serve the latest version of your read-only site until the origin servers reappear.
[ Parent
| on HN ]
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).
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.