phstc / sidekiq-putsreq

Home Page:http://www.pablocantero.com/blog/2015/03/14/sidekiq-redis-vs-shoryuken-aws-sqs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It's a sample app for http://www.pablocantero.com/blog/2015/03/14/sidekiq-redis-vs-shoryuken-aws-sqs/

Installation instructions

git clone git@github.com:phstc/sidekiq-putsreq.git

cd sidekiq-putsreq

Assuming you have heroku toolbelt installed:

heroku create

git push heroku master

heroku addons:add redistogo

heroku config:set REDIS_PROVIDER=REDISTOGO_URL

Open the Sidekiq Bucket on PutsReq, click on Fork and copy "Your PutsReq URL" then:

heroku config:set BUCKET_URL=http://putsreq.com/<your token>

Running tests

heroku ps:scale worker=0

heroku run bundle exec rake

heroku ps:scale worker=1

All done! Open your bucket on PutsReq and check the results!