On Tuesday, June 11, 2013 8:03:47 PM UTC+2, Jesús Gabriel y Galán wrote:
>
> unless the worker would first check if it should be handling this task 
> at this point and reinserting the job if not, which is highly wasteful 
> in my opinion, 
>
... 

> For the sequence you could have the list of tubes in an array, and the 
> worker will just remove the first entry and reinsert the task in the 
> now first one. 
>
>
Hi Jesus, 
          thanks for the ideas, the fact that checking and re-inserting the 
job is quite wasteful is a very good point.
I will make some tests with many tubes (so each tube will become a kind of 
"level") and benchmark it a bit.

many thanks :)

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


Reply via email to