Blog

Switching from Amazon S3 to a CDN

Jun 12, 2008 at 12:42 PM by Yaron Galai | View Comments | Permalink

Scaling our service and ensuring that our widgets are served quickly and reliably has been a top priority for us. We’re bloggers too, and we know how annoying it is when a blog hangs due to a widget that fails to serve quickly… urgh!!

To ensure that our servers never hang your blog, we’ve been using Amazon’s S3 service to serve all of the static files in our widget – images, JavaScripts and the CSS files. We’ve also designed our widget to degrade gracefully if there’s any service glitch after the scripts are served from Amazon so that your blog readers would never notice and degradation in the user experience.

Every service goes down occasionally, but it’s been paramount to us to make sure we don’t break (or slow down) your blog if ours does.

In the past couple of weeks, we’ve been experiencing very poor performance from the Amazon S3 service (especially outside of the US), which has caused some bloggers to see unacceptable load times of our widget. Amazon has not been communicating much about this, and so we don’t know if this was a temporary issue caused by last week’s DoS attacks on them, or whether this is a more permanent issue related to scaling.

As we scale our network, it’s important for us to make sure that bloggers are absolutely comfortable with our ability to serve our widgets quickly and reliably. Therefore we’ve moved our widgets off of Amazon, and over to Panther – a proper CDN which we hope should significantly improve the speed in which our widgets show up around the world.

If you still encounter any issues relating to the widget’s serving performance, please do let us know asap on our support forum.

Posted in Widgets| View Comments

  • I am facing some issues regarding it, S3 is low in cost as compare to other but is it really works for me?
  • Here elaborates the matter not only extensively but also detailly .I support the
    write's unique point.It is useful and benefit to your daily life.You can go those
    http://www.chaneloutletstores.com
  • Hey Raj - What Amazon S3 is great for is the pay-as-you-go structure. So the answer really depends on the volume you need to serve. On low volumes you can't beat Amazon's pricing (we had months of paying $3 or $15...). But at the volumes we're at, we wouldn't be paying much more for the CDN than we would have on Amazon. It's important to note that we serve very few files which are very small in size, but serve them many times per day. I think the answer would be very different if you have say a large repository of videos which are very big in file size.
    Also - just to be clear - we love Amazon's Web Services, and think it's a brilliant program. I also think that for pure storage purposes where response time isn't paramount - it is a very good service. However it seems that as a CDN for static files (where response time around the world is important) - Amazon is not there yet. It's not reliable (especially outside the US), and their communications with developers are still pretty much non-existent... So for our needs, a real CDN made much more sense at this stage.
    Hope this helps!..
  • Raj
    Interesting!
    We were also experiencing slow down issues outside the US - specially from India. It tool forever to download static content. I had a question for you guys:
    Is using Panther a lot more costlier then S3? or are they as low cost as S3?
    That would help.
    Thanks,
    Raj.
blog comments powered by Disqus