Scalable Event Multiplexing: epoll vs. kqueue

On in Bookmark by Mingxing Zhang
Tags: ,

URL: http://www.eecs.berkeley.edu/~sangjin/2012/12/21/epoll-vs-kqueue.html

This article gives a fairly good review on common event multiplexing techniques, especially the difference between epoll (in Linux) and kqueue (in BSD).

There are also some interesting anecdotes enclosed in the post, such as:

  • Stateful event multiplexing techniques (epoll, kqueue) are derived from the paper by Banga et al, published at USENIX ATC 1999.
  • kqueue is technically superior to epoll.
  • It is often quoted that “In Unix, everything is a file”, but it is not always true.