[erlang-questions] How to use "jobs": schedule tasks by core number

Zabrane Mickael <>
Sat Apr 14 10:17:54 CEST 2012

I've asked "Ulf" long time ago about esl/jobs doc + examples (he was very busy).

May be he can help on that now!!


On Apr 14, 2012, at 9:44 AM, Max Lapshin wrote:

> Hi. I have 100 tasks to execute, each takes about 10 seconds and uses 1 core.
> I want them to run 8 simultaneously (by core number). What is the best way?
> I think that esl/jobs is right what I need: create some queue and let
> it schedule jobs. If yes, so can anyone share me a simple snippet of
> code, how to do it?
> I haven't found even any examples in google, only jobs source code,
> which is rather complicated.
> Next question will be: how to distribute these tasks among cluster?
> _______________________________________________
> erlang-questions mailing list
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list