Теория
How does the Go runtime process a million I/O-bound requests (e.g., in a proxying/API gateway service)?
The Go runtime multiplexes goroutines over OS threads and uses a network poller for supported asynchronous network I/O.
Читать ответ