I was thinking to have several "select" threads to split up the work. Do you think there is a threshold value I should use, when the process will slow down significantly. What  other methods are use in Linux/Unix user land to deal with massive multi connect servers? I now it's fairly standard to just fork a new process for each connection, but I  assume you have the same issues with that as with massive multi threaded blocking servers. i.e. running out of virtual memory and excessive time spent in context switching.


Mikael

On 6/29/06, Lukas Gebauer < [EMAIL PROTECTED]> wrote:
> So if I up this Constant, I can safely use select (or GroupCanRead) on
> the larger list?

Yes. But if you have this value too high, you got performance pnalty
by searching too large liost of sockets.

> Just out of curiosity: In what type of circumstance would you want to
> use WaitforMultipleObjects when doing socket programming?

WSAAsyncSelect using it internally?



--
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to