Thanks.  Please put that in the book.

On 7 November 2013 15:22, Niphlod <niph...@gmail.com> wrote:

> that if you have multiple workers you can have them assigned a "multiple"
> fraction of the work if you know that they'll process tasks faster.
> i.e. you have a local worker fetching from the interwebs big chunks of
> data. You observe that you're queueing tasks faster than that server can
> process them.
> You start another worker in another server and since it'll be just
> churning data, you want it to process 3 times the tasks the other worker
> gets (i.e. to offload the local worker).
> This means that when the scheduler "ticker" (the coordinator) sees two
> workers, it won't assign 5 tasks to one and 5 to the other, but 5 to the
> first and 15 to the second.
> In the end, the tasks will always be assigned and processed, but you can
> "steer" the assignment process acting on group names.
>
>
>
> On Thursday, November 7, 2013 10:19:45 AM UTC+1, Johann Spies wrote:
>>
>> Can somebody please explain to me what this sentence from the book is
>> trying to tell me?
>>
>> "['mygroup','mygroup']. Tasks will be distributed taking into
>> consideration that a worker with group_names ['mygroup','mygroup'] is
>> able to process the double of the tasks a worker with group_names
>> ['mygroup'] is".
>>
>>
>> Regards
>> Johann
>>
>> --
>> Because experiencing your loyal love is better than life itself,
>> my lips will praise you.  (Psalm 63:3)
>>
>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to