What Is the Epoll Interface?
Epoll is a Linux event-notification interface that lets a program register many file descriptors and then wait to learn which of them are ready for input or output. Unlike older approaches, its cost does not grow with the total number of descriptors watched. It is the basis for high-concurrency network servers on Linux.
Why it matters
Epoll is why event-driven servers can handle thousands of connections in one process, which underlies many tools CI depends on. Understanding it clarifies how non-blocking IO scales without a thread per connection.
Related guides
What Is the Select System Call?The select system call lets a program wait until any of a set of file descriptors becomes ready for IO, or un…
What Is Non-Blocking IO?Non-blocking IO returns immediately when an operation cannot complete yet, letting a single thread interleave…
What Is an Inotify Watch?An inotify watch is a Linux registration that notifies a program when a specific file or directory changes, p…