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
- Separating key management from file system security
- On the duality of operating system structures
- Eraser
- Checking system rules using system-specific, programmer-written compiler extensions
- Eliminating receive livelock in an interrupt-driven kernel
- SEDA
- Flash: an efficient and portable web server
- An Introduction to Programming with Threads
- Using continuations to implement thread management and communication in operating systems
- Cooperative Task Management Without Manual Stack Management