Webreakstuff's blog on design, development and strategy. Click here to subscribe.

Web applications: APIs, use but be ready

Fred Oliveira on January 12, 2006

Building web-apps Even though I’ve talked about this in the past, I feel like it’s so important that it needs to be said again and memorized (in fact, get sticky notes and prepare to tag this to your walls). If you’re using public APIs, rely on the functionality they give you, but always have a backup plan.

Think about it, almost 50% of the current web applications rely on public APIs, put out there by Google, or Yahoo!, Amazon, or even one of the smaller players. The problem is when the APIs fail, when the terms and conditions for usage change and a big chunk of your application’s functionality is lost overnight, no questions asked and no warnings issued. What do you do then? If you have no backup plan to save the functionality provided by your API, you’ll have downtime and risk failure altogether.

So, when planning your web-application, keep in mind that the more in control of functionality you are, the less likely it is for it to fail. There is no set solution for substituting functionality provided by public APIs like, for example, Google Maps. And there’s no guarantee that anything will ever fail. But if you’re building a business, you better be ready for everything - good or bad.

Further reading:

Service dependency on the new web, Published October 27
Public APIs - Arghh, Published January 11th on Forest and the Trees
Web 2.0 and the Drive-by upgrade, Published October 24 on O’Reilly Weblogs


Comments on this post

pedro mg

well,there are major players signig contracts with API using developpers. A risc ? Sure, but the benefits are huge. I am testing successfully an API for some weeks and it is really great to access those loads of data… As for p.ex. delicious and other temporary down_state for servers, it’s not so much API faillure but platform temporary faillure. To the user, the thing is down, but not for serious reasons. As for “public API”… well, not so public. Here is a case where some standardization would be great, using Larry Page@CES speech. Web2.0 is flying to fast for standardization to follow “her”, don’t you think ?

Khang

I guess what u are saying is very true. And I guess you guys DO break stuff. You’ve broke techcrunch.com. ;)

Fred

Lol, we don’t actually run the server now, do we?

Something to say?