[erlang-questions] Millions of processes?

Alex Arnon <>
Wed Sep 24 11:25:51 CEST 2008


On Wed, Sep 24, 2008 at 10:36 AM, <> wrote:

> On Tue, 23 Sep 2008, Vance Shipley wrote:
>
> > On Tue, Sep 23, 2008 at 07:09:30PM +0200, Ulf Wiger (TN/EAB) wrote:
> > }  In the Linux kernel FAQ, the philosophy on threads is
> > }  explained thus:
> > }
> > }  "Avoid the temptation to create large numbers of threads in your
> > }  application. Threads should only be used to take advantage of multiple
> > }  processors or for specialised applications (i.e. low-latency
> real-time),
> > }  not as a way of avoiding programmer effort (writing a state machine or
> > }  an event callback system is quite easy).
> >
> > Contrast that to the Erlang Programming Rules and Conventions:
> >
> >   5.4 Assign exactly one parallel process to each true concurrent
> >       activity in the system
>
> Don't forget that in erlang's case the above mentioned "programmer effort"
> was already done by the developers of the erlang VM...
>
>                                Bye,NAR
> --
> "Beware of bugs in the above code; I have only proved it correct, not
>  tried it."
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>

Also:

"... because it is, frankly, stupid to have large numbers of threads. "

 Dear oh dear.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080924/4a0f395b/attachment.html>


More information about the erlang-questions mailing list