High Performance Background Jobs. On Ruby.

Version Downloads

It's as simple as 1-2-3.

1. Install
$ gem install sneakers
2. Make a Worker
class TitleScraper
  include Sneakers::Worker
  from_queue 'downloads'

  def work(msg)
    doc = Nokogiri::HTML(open(msg))
    worker_trace "FOUND <#{doc.css('title').text}>"
3. Run
$ foreman start
# or require 'sneakers/tasks', and:
# $ WORKERS=TitleScraper rake sneakers:run

See What People Say

I love using Sneakers because it simply leverages RabbitMQ instead of reinventing messaging primitives on Redis or relational databases. It's safer, simpler, and more flexible.

Abe Voelker

We're happily using Sneakers to implement a pragmatic and scalable lambda architecture, which streamed over 1 billion mission critical events so far.

Dotan Nahum, Chief Architect at Conduit

Sneakers is now my go-to pub/sub system and is used in almost every project I work on on. It's easy and beautiful, Thanks Jon!

Will Beebe, Software Engineer

Want to join in? Submit a pull request.

Our Community Blog — Learn, Build, Repeat.