[Rake-devel] Take 'invoke' out of Task

Ittay Dror ittay.dror at gmail.com
Sun Jul 20 02:15:54 EDT 2008


Hi,

Are there any plans to create an external execution engine that can then 
run tasks in parallel?

MultiTask is helpful, but:
1. it is only local to one task
2. it creates threads per prerequisite, but it is better to only run 
thread-per-cpu
3. the threads continue to invoke other tasks, if several tasks rely on 
the same one, this creates unnecessary locking between the treads. an 
execution engine would run the relied on task and then run those tasks 
that depend on it in parallel without concern over synchronization.

Btw, if not the full execution engine, can MultiTask be made into a 
module (mixin)? That way I can use it in a FileTask task.

Thank you,
Ittay

-- 
--
Ittay Dror <ittay.dror at gmail.com>




More information about the Rake-devel mailing list