Epoll interesting links
Now that I am working with Go, I was going deeper in Go network APIs and found that Go implements epoll in its library - or, I don't need to do syscalls myself.
Searching for some information, I ended up finding two very interesting articles about epoll internals that clarify some interesting points and I'd like to share (and keep to myself)
Some important context:
- There are two other ways to check for events
- select (very commonly used with sockets)
- epoll is a faster alternative, specially if you have lots of file descriptors to read from
Shut up and show me the links!
Difference of select, poll and epoll:
How epoll works:
What is wrong with epoll:
Last but not least
Please let me know if you find other links better than those :)