twitter-archive / kestrel

simple, distributed message queue system (inactive)
http://twitter.github.io/kestrel
Other
2.77k stars 312 forks source link

feature request: read from a union-queue #91

Open robey opened 12 years ago

robey commented 12 years ago

(via stephan and jonathan)

it would be nice to be able to read from the "union" of 2 or more queues. something like get jobs1|jobs2

trivial to make this work for the no-timeout (instant) case. for the timeout case (get jobs1|jobs2/t=1000), we'll need to track the open reads, and when an item comes in on one of the queues, cancel the read on the other queues. could be tricky.

s17t commented 12 years ago

+1 for this.

vogelito commented 12 years ago

+1 this would be great!

etucker commented 11 years ago

+1 This would be quite handy.