From http://nginx.org/en/docs/events.html
Method | Linux | macOS | Windows | BSD | Solaris, HP-UX, IRIX, Tru64 | Notes |
---|---|---|---|---|---|---|
select | X | X | X | X | X | Least efficient, but widest support |
poll | X | X | X | X | Low efficiency, but wide support | |
kqueue | X, Go | X | Go | Efficient | ||
epoll | Go | Efficient | ||||
/dev/poll | X | Efficient | ||||
eventport | Solaris 10+, Go | Known problems, use /dev/poll instead | ||||
IOCP | X, Go | Recommended for Windows |
Goland runtime uses epoll
/kqueue
/IOCP so no need for libevent
or similar.
@see https://golang.org/search?q=netpoll#Global