I'm writing a service in python and am utilizing a beanstalk queue to store
all my request.

initially there is front end that puts each request into the queue as it
comes in from the web api.
a python service runs in the backend and I want to be able to process
requests in batches such that I can take all current jobs in the tube
put all their requests together and process it in one action instead
of separately.

my question is how can I do this?
the only way so far I've seen to enumerate and pull out the jobs is in a
while true loop and calling reserve on the tube to get the next available
ready job.
I'd like to get all the ready jobs at once process them and then go back to
waiting after each batch processing is done to start another batch
processing.

I hope that makes sense,
Thanks,
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to