On Wednesday, October 1, 2014 4:34:08 PM UTC+2, Pengfei Yu wrote:
>
> So that means all the communications between different machines are from 
> database management system, and has little thing to do with the scheduler? 
> Sorry, I am new to this field and the question may be stupid.
>
 
all the communications between any process sitting on any system just needs 
to access the database you point your scheduler instance to.
 

> And I see Celery has features to support distributed computing (
> http://stackoverflow.com/questions/23916413/celery-parallel-distributed-task-with-multiprocessing),
>  
> Are those features also included in Scheduler?
>
>
same exact thing, two different concepts in mind: web2py's scheduler 
assumes that the time it takes you to send a task is neglegible in regard 
of the actual time the task will take to be processed, while celery use a 
software stack that tries hard to minimize that timespan. 
Also, consider that the whole Celery team is focused on the creation of a 
task processor, while web2py's is not (just sayin')
In real world terms, this means that if your goal is to process 1 trillion 
task per minute, Celery (and a big freaky farm of servers) is the right 
tool for the job. 
Don't even start with web2py's scheduler with those numbers. 
web2py's scheduler performances are hardly dependant on the underlying db 
(since it's where all of the communication and coordination for all the 
activities takes place). Scheduler's usually runs out (on "commodity 
hardware") at 2000 tasks per minute. Still, it's usually enough for a vast 
majority of web applications. 

-- 
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