[concurrency-interest] missed deadlines.

David Holmes dcholmes at optusnet.com.au
Thu Jul 6 23:49:58 EDT 2006


> Surely the cost of starting new threads (and killing excess idle ones) is
greater
> than the cost of keeping a reasonable number of idle threads around?

It's the age-old trade-off: space versus time. If you can afford to have
idle threads around then keep them around. If not then you have take a
startup hit the next time you need one. Again the way TPE works, including
idle timeout, gives a great deal of control and so you can tune to match
your circumstances.

Cheers,
David



More information about the Concurrency-interest mailing list