top | item 6165277

(no title)

dlsspy | 12 years ago

It's not obvious to me what that does. Does that only service one of the 100 clients or one of their 10,000 pings each? Or both?

discuss

order

luikore|12 years ago

It's one at a time. But, since the server only performs a one-shot task without the "hang on and wait 30 seconds"-like long connections, and, the default socket backlog of TcpServer is > 100, so every client gets served within the delay of (0~99)*6ms.

In short, every round is fully served, and the concurrency level is 100.