Thursday 16 February 2012

Caching the feeds

The RSS feeds may be somewhat flaky until the weekend. This is for two reasons. First, we keep losing connectivity to Smashwords, possibly as a fail over from yesterday.

Second, we're working on the second part of the engine improvement. The "Under Maintenance" message was the first part, and rolled as a prototype. The second is a server-side cache for the RSS that means that short-term outages will be smoothed out, and widgets will continue working through them.

This is more complex as we need to balance a user's desire for up-to-date data against the need to keep data available, make sure it cannot cache the maintenance page, and ensure changes to data get pushed through quickly if the publisher or author makes a change.

We're also moving servers at the same time, and our Apache whizz has a day job as well. Please bear with us.

ETA: An update - basic server caching has been turned on (remote access is very useful). The code is in testing against the live tools. Please let us know about any issues.

No comments:

Post a Comment