App Details Developer: Accuweather.com Downloads: 50,000,000 - 100,000,000 Version: V4.1.4-free Size: 23M Acccuweather app is one of the most popular android weather app which provides quite accurate and localized weather forecast. In addition, this app is also with a beautiful interface. After downloading this app, the first thing you need to do is type in your current location.
Standard fare for most dynamic data and the way most everybody would tell you to do it.
Only thing is that it scales like a dog.
The thing is that holding all the weather of the entire globe in memory, well, takes a lot of memory. More than is reasonable. In which case, there’s a fairly decent chance that a given request can’t be served from the cache, resulting in a query to the database, an update to the cache, which bumps out something else, in short, not a very good hit rate.
If we were able to make our clients in London perform an HTTP GET on http://weather.myclient.com/UK/London then we could return headers in the HTTP response telling the intermediaries that they can cache the response for an hour, or however long we want.
Instead of getting hammered by millions of requests a day, the internet would shoulder easily 90% of that load making it much easier to scale. Thanks Al.