You can change 'config.js' to change the workers configuration. Mainly the mongodb host and the beanstalk host.
Run the script 'init.js' to initialize the 'rates' collection. The script will drop the collection and will create index.
Run the script 'producer_worker.js' without parameter to see the worker usage.
Run the script 'consumer_worker.js' to start to process job from beanstalk. The script doest not take any parameter.