Amazon S3 is no longer my CDN
I’ve been very interested in Amazon’s cloud computing initiative. They’ve slowly been adding services to the point where some startups are able to use Amazon for storage, computing, and even database services. With StatSheet, I needed a simple content delivery network to host images, javascript, and stylesheets. S3 seemed like a good fit. I heard a few reports of S3 being unreliable when used as a CDN, but several bloggers I read seemed reasonably happy with them. I decided to take the plunge, change my some code, and start using S3 for static assets.
After a month I’ve decided to switch everything back to my own web servers. Why? Well of course there was the well publicized outage a couple of weeks ago, but the bigger problem for me is that periodically files would take an extremely long time to download. Occasionally I’d notice the site acting really sluggish. At least 3 times in the past month when that kind of slowness occurred, it was because an important file (like a javascript file needed for onLoad) is taking FOREVER to download. And by forever I mean on the order or 2-3 minutes! For just one file!
Below is a snap shot from Firebug that shows a 194KB javascript file being served from S3 taking 2.2 minutes to download! I could reload (with caching turned off) and it would take 2-3 minutes again. Each time I tried it.
Now eventually the file will start downloading fast again, but for an important file like that (or my main logo image), it dramatically alters the site’s appearance. Now I know there is a slight chance that it wasn’t S3 at all. Perhaps a network issue somewhere between me and S3. The catch is that all 3 times I’ve seen this issue happen, I can download the file with no problem directly from my web servers. I just don’t want to take the chance.
So I’m giving up on my S3 experiment for now. I’ll still use it for backups, perhaps, but as a CDN it just didn’t work well.
Save to del.icio.us
|
Digg it
|
Reddit






On May 21, 2007 around 4pm, Landree Elizabeth Allen was born. She came just a little sooner than me and her mommy were expecting (by 5 days), but that was fine by us! It has been quite a whirlwind over the past 5 weeks (I can’t believe she is almost 6 weeks old!) We have enjoyed her immensely.
