How do you handle multiple clients ?

May 1, 2011 at 8:02 PM

From the documentation it seems that there is a min and max number of threads (version 1.4). How do you suggest we deal with multiple clients ? 

Coordinator
May 2, 2011 at 1:57 AM
There are many configurations for thread pool size, not for min/max number of threads.

If SuperSocket works in Async mode, it can handle thousands of clients with very less threads (several threads or a little more).
So the thread pool size won't decide directly how many clients can be dealed concurrently.

There is a configuration for server instance named "maxConnectionNumber", which limits the max clients number of SuperSocket can handle concurrently.

About configurations of min/max value of working/completion port thread pool, you can check perf.log in Logs folder for thread pool status and adjust your configurations.


Thanks,
Kerry Jiang
May 2, 2011 at 9:34 PM

thanks for your reply