dreyescat/bicing-availability — Issue #1: Turning station request into an asynchronous call
Author: dreyescat
Created: 2012-02-11 23:01:12+00:00
State: open

With so much stations it is inefficient to keep the stations requests synchronous. It takes a lot of time to go through all the stations.
Suppose it takes 3 seconds to process a station request. A loop through all the stations (approx. 400 stations) would take 400 * 3 = 1200 second = 20 minutes !!!

A solution may be to use asynchronous calls for the stations requests.