Hi,

right now I have a single task that runs once a day and am wondering if it 
would be a good idea to split it into "atoms"/ smaller bits soas to take 
advantage of work division ( use several workers instead of just one). I 
can't figure out how to do this since all the work to do depends on a 
single db(db.....).select 
so actually the task behaves like so :
(1) select a bunch of rows
(2) aggregate rows into atoms/groups
(3) process every atom

It's not clear to me wether it's a good thing  to have more than one worker 
to  gain performances and in such case how to  distribute work related to a 
single select accross workers ?

-- 
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/d/optout.

Reply via email to