0.02
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
SQS backed job store for Sidekiq. Redis is still used for stats/job worker tracking
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 0.12.3
~> 0.9.1
>= 0

Runtime

~> 1.6.6
~> 2.3.2
 Project Readme

Sidekiq::Sqs

This is a gem that modifies Sidekiq to use Amazon's SQS as a job store. It still requires Redis for stats and such, and worker tracking.

It works currently. There's very few tests, but we've been using it in production for a while. Still, be careful

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-sqs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sidekiq-sqs

Usage

Once the gem is required, (and aws-sdk is configured) simply do:

Sidekiq::Sqs.enable!

That'll turn it all on. Nothing else should have to change.

Caveats

  • Scheduling uses SQS message timers. The amount of time you can schedule a worker must be 0 to 900 seconds (15 mins).
  • Auto-retrying to insert jobs to SQS on failure (if SQS loses it's mind for a second) doesn't work. It should, but it doesn't.
  • ?

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request