6 ms·
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?
by dlsspy 13y 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?
- luikore 13y agoIt'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.