Attempting to solve problem https://github.com/Hipmunk/hipproblems/tree/master/searchrunner
The solution is contained within a docker container. It is a node js app with varnish cache operating as both a front-end cache and a load balancer. Varnish load balances between 3 node containers.
- docker
- docker-compose
python -m searchrunner.scraperapi
docker-compose up
Go to http://localhost:8000/flights/search
docker-compose down