[erlang-questions] Millions of processes?

Vance Shipley <>
Wed Sep 24 00:23:26 CEST 2008


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


	-Vance



More information about the erlang-questions mailing list