Re: So, Poll is not scalable... what to do?

bill davidsen
2003-11-12T23:33:44Z

In article <LAW12-F60bw5TYIo9WF0002bec8@hotmail.com>,
kirk bae <justformoonie@hotmail.com> wrote:
| If poll is not scalable, which method should I use when writing
| multithreaded socket server?
|
| What is the most efficient model to use?
|
| Is there a "standard" model to use when writing a scalable multithreaded
| socket serve such as "io completion ports" on windows?
|

In many cases people just run a thread per socket and use blocking i/o.
Then the thread either does the work required or make an entry on a
"work to do" queue.

You've had other suggestions, this is just for completeness.
--
bill davidsen <davidsen@tmr.com>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.