nickspeal / musicThisWeek

A Web Service that generates a Spotify playlist of bands that are playing in your area in the near future
3 stars 2 forks source link

Speed up external requests through asynchronous calls #22

Open nickspeal opened 8 years ago

nickspeal commented 8 years ago

ref #13 and the related branches:

/luc/speed_up_eventful /luc/speed_up_eventful2

This can be applied to both the eventful and Spotify searches.

There seems to be a crossover point where parallelization vs serialization is faster. It seems like parallelization is faster with a strong network connection but serialization is faster with a weak network connection. (for eventful anyway). Needs to be tested from the server.