From: Lloyd Zusman Date: 2004-11-27T02:26:48+09:00 Subject: Re: [ANN] Multiplexer - linear non-blocking I/O "Robert Klemme" writes: > [ ... ] > > What is the advantage over a solution with threads? IOW, why should I > use multiplexer over individual threads per connection? The issues raised in subsequent posts illustrate the classic arguments between one-thread-per-connection proponents and select-loop proponents that I have heard since the mid 1990's. Given good thread and select/non-blocking-io implementations, both methods can solve the same problems and can work just fine. As for me, I believe that it's good to have both methods to choose from. The java folks have recently offered a 'select' methodology in addition to their traditional thread-based approach. Perl has not-so-recently added thread support on top of its traditional preference for 'select'. And I'm glad that I also have both options in ruby. -- Lloyd Zusman ljz@asfast.com God bless you.