← BYTES
Unix IPC·Starter·Ref: 15.1.44

What is epoll, in the simplest terms?

Have a question about this video? Mention reference 15.1.44 when you contact us.

   epoll_ctl(ADD, fd1, fd2, fd3, ... fd10000)   <- register once
   epoll_wait()  -->  "fd42 and fd781 are ready"  <- just the ready ones
a.A text editor bundled with the Linux kernel
b.A networking protocol that replaces TCP
c.A compression format for log files
d.A Linux-specific I/O event notification mechanism designed to scale efficiently to very large numbers of watched file descriptors, improving on select()/poll()
epoll is Linux's own I/O readiness-notification API, purpose-built to handle situations -- like a server with tens of thousands of open connections -- where select()/poll()'s approach becomes a real performance bottleneck, as covered in later questions.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES15144#UnixIPC