iMob brings down GeoNames, other iPhone apps

A lot of iPhone applications need to convert a user’s location from the latitude/longitude that the iPhone SDK returns into a postal code. This is primarily because a lot of APIs still use postal codes to look up information. This is the case for Hot Popcorn where we look up movie times using either a postal code or city, state.

The popular choice for doing this conversion is GeoNames, a web service run by Marc Wick free of charge under a creative commons attribution license. When an API is free, there have to be limits to set to prevent abuse. GeoNames limits usage in it’s terms of service to 50,000 requests per IP address per day.

But this is a new world with rich clients like the iPhone, each with their own IP addreess. So what happens when a free popular iPhone game like iMob uses GeoNames? Mayhem.

iMob Online is currently #5 in the Top Free Apps on iTunes and this has essentially brought down GeoNames:

The problem since yesterday evening is an enormously popular iphone application called iMob. It is hammering the server with > 100 requests per second which has the effect of a DDOS attack. I am trying to get in touch with the developers to have them remove this feature from their application.

This forced Marc to take down the server:

We have temporarily removed the domain ws.geonames.org from the dns setting to protect the server from exessive use by an iphone application. You can access the server with the domain ws5.geonames.org

Now any iPhone application trying to use GeoNames will fail. Thanks iMob!

5 Responses to “iMob brings down GeoNames, other iPhone apps”

  1. Shaun says:

    with the increasing use of the app store, this was bound to happen eventually. they should have had better safeguards in place or have a way to manage requests per app.

  2. Frank says:

    Shaun, I think you miss the point here. It’s a free service. That Marc guy is working hard to deliver something free to all of us. Don’t blame him for this, he can’t be prepared for everything. Blame the iMob guys, they should have updated their app with a better caching mechanism by now.

  3. anthony says:

    so is this why i can join imob but cant fight see news and marked ist and my 400 mob comes up as henchemn 1 2 3 4 blah blah?

  4. Jake says:

    When creating a free service like that you must be prepared for anything..

  5. Developer says:

    How is it iMob’s fault. The dude created a webservice that was apparently poorly written and could not handle the traffic. Clearly the tool was not ready for prime time as it should be a trivial calculation to convert lat/long to a zip. Furthermore if you build an app and release it into the ether, be prepared for it to be used.

    I do fault iMob developers for not bothering to write such a trivial lookup on their own side. However that is the SOA world we live in, distributed apps.

Leave a Reply