Handle Job Queue Workers Concurrency In Rails

Submitted by Georges Auberger 2012-04-20 22:36:29 UTC
Source:  http://ternarylabs.com/2012/04/16/handle-job-queue-workers-concurrency-in-rails/

Referenced projects

Ruby on Rails

Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

Rubygem rails

Total Downloads
48730256
Releases
244
Current Version
4.2.1
Released
2015-03-19 00:00:00 UTC
First Release
2004-10-25 04:00:00 UTC

Github rails/rails

Watchers
26233
Forks
10418
Development activity
Very active
Last commit
2015-05-25 04:56:55 UTC
Contributors
30
Issues

Rubygem rspec

Total Downloads
24169978
Releases
153
Current Version
3.2.0
Released
2015-02-03 00:00:00 UTC
First Release
2008-07-02 05:00:00 UTC
Depends on following gems
Depending Gems
26401

Github rspec/rspec

Watchers
1279
Forks
133
Development activity
Less active
Last commit
2015-04-01 17:16:23 UTC

Resque

Resque is a Redis-backed Ruby library for creating background jobs, placing those jobs on multiple queues, and processing them later. Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both. Resque is heavily inspired by DelayedJob (which rocks) and is comprised of three parts: * A Ruby library for creating, querying, and processing jobs * A Rake task for starting a worker which processes jobs * A Sinatra app for monitoring queues, jobs, and workers.

Rubygem resque

Total Downloads
4942031
Releases
63
Current Version
1.25.2
Released
2014-03-04 00:00:00 UTC
First Release
2009-11-03 11:00:00 UTC

Github resque/resque

Watchers
6569
Forks
1214
Development activity
Less active
Last commit
2015-04-21 06:26:18 UTC

Delayed job

Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.

Rubygem delayed_job

Total Downloads
4060288
Releases
40
Current Version
4.0.5
Released
2014-12-22 00:00:00 UTC
First Release
2009-09-06 07:00:00 UTC

Github collectiveidea/delayed_job

Watchers
3284
Forks
691
Development activity
Active
Last commit
2014-12-22 13:22:33 UTC
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.