process pools?

Julian Assange <>
Wed Oct 10 09:37:54 CEST 2001


> 
>  >         2) What is the best method to implement worker threads? i.e
>  >            I'd like a pool of processes (one for each outbound
> 
> The other reason I've seen thread pools used is in situations where
> some expensive initialisation has to be done. It doesn't sound like
> your program does this.

The context is persistant http connections. Tearing down the socket
and rebuilding it for each url would be dramatically slower.

Cheers,
Julian.



More information about the erlang-questions mailing list