3 ms·
If you're a server with a million clients holding an open connection, you can have a goroutine for each, holding the connection state while waiting for them to
by icebraining 8y ago
If you're a server with a million clients holding an open connection, you can have a goroutine for each, holding the connection state while waiting for them to communicate again.
- yen223 8y agoThis is especially important if you have long-lived connections, e.g. websockets.