Categories: None [Edit]
em-resque
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
Total
Ranking: 24,247 of 183,139
Downloads: 53,242
Daily
Ranking: 66,923 of 183,127
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
875 | 44,241,593 | resque |
1,917 | 10,766,976 | em-synchrony |
2,286 | 7,268,668 | em-hiredis |
Owners
# | Gravatar | Handle |
---|---|---|
1 | pimeys |