Simple thread pools

Mike Meyer mwm at mired.org
Thu Nov 11 15:34:12 EST 2004


Josiah Carlson <jcarlson at uci.edu> writes:

> Steve Holden <steve at holdenweb.com> wrote:
> All I'm saying is that you can get the same kinds of concurrency, same
> kinds of throughput, same kinds of elapsed times, etc., with an
> asynchronous approach and a single thread.  I suppose 'whatever floats 
> [our] boats' and 'whatever implementation presents itself in the most
> timely manner'.

Except that multi-threaded code is prone to obscure, hard-to-isolate
bugs. Having done both multi-threaded and async servers, I'll take the
async version every time.

      <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list