RubyGems Navigation menu

task_batcher 0.1.0

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.

Gemfile:
=

安裝:
=

版本列表:

  1. 0.1.0 April 24, 2013 (9.0 KB)

Runtime 相依性套件 (1):

Development 相依性套件 (2):

mocha >= 0
rspec >= 0

擁有者:

作者:

  • Jon Snitow

SHA 256 總和檢查碼:

=

總下載次數 3,762

這個版本 3,762

版本发布:

授權:

Ruby 版本需求: >= 1.9.3

RubyGems 版本需求: >= 1.2

相關連結: