Up to a pretty high transaction rate, you can simply use Zookeeper, especially if you check out a block of tasks at once.
With blocks of 100-1000, you should be able to handle a million events per second with very simple ZK data structures. On Sat, Jul 16, 2011 at 1:24 PM, Stack <[email protected]> wrote: > Do not use locks. Doesn't scale. Maybe update a cell when task is > taken out for processing. If too much time elapses since last update, > maybe give it out again? >
