RubyGems Navigation menu

em-resque 1.1.1

Em-resque is a version of Resque, which offers non-blocking and non-forking workers. The idea is to have fast as possible workers for tasks with lots of IO like pinging third party servers or hitting the database. The async worker is using fibers through Synchrony library to reduce the amount of callback functions. There's one fiber for worker and if one of the workers is blocking, it will block all the workers at the same time. The idea to use this version and not the regular Resque is to reduce the amount of SQL connections for high-load services. Using one process for many workers gives a better control to the amount of SQL connections. For using Resque please refer the original project. https://github.com/defunkt/resque/ The library adds two rake tasks over Resque: * resque:work_async for working inside the EventMachine

Gemfile:
=

install:
=

Versions:

  1. 1.1.1 September 23, 2012 (15 KB)
  2. 1.1.0 July 23, 2012 (14.5 KB)
  3. 1.0.4 May 05, 2012 (14.5 KB)
  4. 1.0.3 February 14, 2012 (14.5 KB)
  5. 1.0.2 January 25, 2012 (14.5 KB)
Show all versions (15 total)

Runtime Dependencies (3):

em-hiredis ~> 0.1.0
em-synchrony ~> 1.0.0
resque ~> 1.2

Owners:

Authors:

  • Julius de Bruijn

SHA 256 checksum:

=

Total downloads 53,395

For this version 11,058

Version Released:

Licenses:

N/A

Required Ruby Version: None

Links: