Go's netpoller: Why Blocking I/O Doesn't Block a Thread
Go’s netpoller parks a blocked goroutine on a pollDesc and wakes it from epoll, so a socket read costs a goroutine, not a thread, and the runtime never blocks in a syscall it did …
Go’s netpoller parks a blocked goroutine on a pollDesc and wakes it from epoll, so a socket read costs a goroutine, not a thread, and the runtime never blocks in a syscall it did …