busbud/coding-challenge-backend-c — pull request #2 by olivierroy (2014-04-30 19:40:20+00:00)
Title: My entry

Deployed here: http://gentle-mesa-8296.herokuapp.com

My application imports all the data at startup and keeps the useful information in the `data` variable so it doesn't have to parse it for every new request. Keeping the data in the RAM help the application handle high levels of traffic.

Cities start with a score of 1 and lose points the further they are from the search parameters. Only cities with a score higher than 0.2 are shown to prevent the users from being drowned with irrelevant results.