Listen "Why Events Are A Bad Idea (for High-Concurrency Servers)"
Episode Synopsis
This 2003 USENIX paper challenges the prevailing belief that event-based programming is superior to thread-based programming for high-concurrency servers. The authors argue that the perceived weaknesses of threads stem from flawed implementations rather than inherent limitations. They present a high-performance user-level thread package as evidence, supporting their claim that threads offer a simpler, more natural programming model. Furthermore, they propose compiler enhancements to further improve thread performance and safety. The paper compares and contrasts the two approaches, revisiting earlier work on their duality, and concludes that with proper compiler support, threads provide a superior solution for building scalable servers.
More episodes of the podcast Code Impact
Trello's Kafka Migration
19/01/2025
Wartime vs. Peacetime in Tech Companies
19/01/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.