Categories: None [Edit]
task_batcher
Some tasks, like database inserts, are much more efficient to process in a
batch. However, we generally want our tasks to be processed "soon" even if
there's only one task. The TaskBatcher gem groups tasks by a taskname
parameter, and starts a timer when the first task comes in. After the batch
timer expires, it processes all tasks that it received in that time. (The
caller provides the block to process the tasks.)
Uses EventMachine under the hood. May be combined with Messenger for
durability guarantees.
Total
Ranking: 148,711 of 197,258
Downloads: 4,176
Daily
Ranking: 93,637 of 197,235
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 |
|---|---|---|
| 29 | 1,027,618,561 | rspec |
| 163 | 334,323,404 | eventmachine |
| 549 | 98,846,255 | mocha |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | apartmentlist |