Title :
The composability problem of events and threads in distributed systems
Author :
Li, Huiba ; Peng, Yuxing ; Lu, Xicheng
Author_Institution :
Nat. Lab. for Parallel & Distrib. Process., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
Event-driven programming has been a relatively hot topic in distributed systems development. Having worked on these systems for years, we now believe that it is not the best choice. Besides the well-known “stack ripping” problem, we argue that it greatly influences the composability of software modules. Preemptive threads are also short of composability because of data-races and locks. Lacking of composability can result in systems with little vitality. Cooperative threading (or coroutine), on the contrary, is almost free of this problem, so we advocate it as the primary concurrency model for most distributed systems.
Keywords :
concurrency control; multi-threading; programming; cooperative threading; distributed systems; event composability problem; event-driven programming; primary concurrency model; software modules; stack ripping problem; Application software; Computer science education; Concurrent computing; Distributed computing; Distributed processing; Educational programs; Educational technology; Laboratories; Programming profession; Yarn; composability; distributed systems; event; thread;
Conference_Titel :
Education Technology and Computer (ICETC), 2010 2nd International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4244-6367-1
DOI :
10.1109/ICETC.2010.5529673