Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.sample_env
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
test_worker.rb

README.md

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/shoryuken-putsreq.git

cd shoryuken-putsreq

Assuming you have heroku toolbelt installed:

heroku create

git push heroku master

Create an AWS account if you don't have one, and copy your Access Key ID and Secret Access Key:

heroku config:set AWS_ACCESS_KEY_ID=<your access key id>
heroku config:set AWS_DEFAULT_REGION=us-east-1
heroku config:set AWS_SECRET_ACCESS_KEY=<your secret access key>

Create your test queue:

heroku run bundle exec rake create_queue

Open the Shoryuken 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!