On 31.3.2013 10:04 pm, Massimo Di Pierro wrote:
The point of the scheduler it that for every worker it runs one task at the
time. tasks are queued and picked up by worker. Each worker picks up a
task, and when completed (or failed) posts results, if necessary queues new
tasks, thank picks up the next task.

This is different from cron. cron always start tasks at scheduled times even if other tasks are in execution. The cron model has the problem that withut a limit to the number of concurrent tasks you can easily run out of
memory.

yep, this difference is clear, the problem for me is the duration of the task, transcoding videos should have big timeout.

thnks massimo

On Sunday, 31 March 2013 20:44:23 UTC-5, Yoel Benitez Fonseca wrote:

I have some doubts about using Scheluder:

How would it be to run long not repetitive tasks? for example, video
transcode. What parameters should I consider in the call to queue_task?
Suppose I have to transcode a video and do two consecutive calls to
queue_task, Will initiate the two tasks simultaneously or it wait to
terminate the first to do the next?

--
Yoel Benítez Fonseca
Tel: 573400


--
Yoel Benítez Fonseca
Tel: 573400

--

--- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to