So, Poll is not scalable... what to do?
From: kirk bae
Date: Tue Nov 11 2003 - 18:54:07 EST
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?
From the "Microbenchmark comparing poll, kqueue, and /dev/poll", kqueue is
the way to go. Am I correct?
What is the best solution to use on Linux?
Also, why is it that poll doesn not return with "close signal" when a
thread-1 calls poll and thread-2 calls close on a sockfd1? It seems that
poll only handles close signal when a client disconnects from the server.
I've seen this mentioned here before, has it been fixed?
Thank you~~~
_________________________________________________________________
From Beethoven to the Rolling Stones, your favorite music is always playing
on MSN Radio Plus. No ads, no talk. Trial month FREE!
http://join.msn.com/?page=offers/premiumradio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/