Multifail!

Jun. 1st, 2012 09:20 pm
torkell: (Default)
[personal profile] torkell
Somewhere within the depths of Amazon is a RSS client made of several kinds of fail, judging by the logs on a server I admin.

Fail the first: it doesn't appear to support receiving compressed feeds. This is somewhat forgivable as decompressing the feed does require a little more processing, but at the same time it saves massively on bandwidth. Enabling it on one site I admin reduced the bandwidth needed for most textual content (webpages, stylesheets, scripts, and so on) by over 50%.

Fail the second: it apparently has no concept of caching. HTTP provides many ways to specify how a page should be cached and when it must be reloaded, but the simplest is to provide a date and a unique identifier for the current version of the page. The client can then make a request to the server, saying that it only wants a new copy of the page if it's changed since the last date/version it saw. Supporting this on your site is essential if you don't want RSS readers to eat your bandwidth, but it does rather rely on the client also doing so. Clients that don't understand caching are the exception.

Fail the third: it polls this particular feed every 30 minutes, despite the fact that the blog is actually only updated once a week. Now, polling every half hour is not unreasonable, but combined with the first and second fails it means Amazon is responsible for about 70MB of data transfer a month. That's a fair bit when the cap is only 400MB. It'd be nice if there was some way to control the polling interval.

Fail the fourth: it doesn't actually obey the 301 response code. A 301 response code means that the page requested has moved permanently, and the client should update any bookmarks or similar. It does at least follow the redirect, so it's not a complete fail.

Fail the fifth: their client identifies itself as "RPT-HTTPClient/0.3". Well-behaved bots identify themselves as what they really are, and provide some sort of contact address. The trouble is that while I could apply the banhammer to this bot, it's likely doing something useful. I have a sneaking suspicion that it's what Amazon are using to pull the feed for the Kindle version of the site.

are we talking about my jungle here?

Date: 2012-06-02 09:08 am (UTC)
From: (Anonymous)
I assume this post is about www.themusicjungle.co.uk (shameless bit of advertising here, but EVERYONE should know how brilliant it is (more shameless hyperbole)). Well, as the world and his wife - sorry - I mean partner - aren't queueing up to subscribe, maybe we should say "yay boo" to kindle and take our unvalued custom elsewhere. That'll make them sorry, won't it? What's that? You think they won't even notice? Huh.

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 8th, 2026 09:25 pm
Powered by Dreamwidth Studios