Event-driven programming for robust software

Frank Dabek, Nickolai Zeldovich, M. Frans Kaashoek et al. · 2002

Events are a better means of managing I/O concurrency in server software than threads: events help avoid bugs caused by the unnecessary CPU concurrency introduced by threads. Event-based programs also tend to have more stable performance under heavy load than threaded programs. We argue that our libasync non-blocking I/O library makes event-based programming convenient and evaluate extensions to the library that allow event-based programs to take advantage of multi-processors. We conclude that events provide all the benefits of threads, with substantially less complexity; the result is more robust software.

Cited by 111 works. doi:10.1145/1133373.1133410

Authors

References