I need to be able to run a number of background jobs simultaneously on 
Heroku.  With Workless, DJ can automatically start and stop a single 
background worker task.  I'm looking for something similar, but for a 
multiple task situation (e.g. scale up to a maximum of 100 or a 1000 
workers, then shut them down as their jobs complete and there are no new 
jobs to run).  Ideally, I'd like the tasks to give up the CPU when they 
become blocked (waiting for http or database access), but I'm not 
particularly concerned with each task getting an equal amount of the CPU 
(such as happens with threading).  I know that there are tools like 
EventMachine, but as has been pointed out elsewhere, if you try writing 
anything other than a simple stateless application in EventMachine, the 
code ends up obscuring the function.  Does anyone know of a library that 
will either convert DJ into a multi-tasking job scheduler, or 
alternatively, that supports the same sort of API (I mostly use 
"<object>.delay.<method-call>' to invoke background jobs) as DJ?  Extra 
points if the package also supports local execution under Mac OS-X!

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to