Back to Search
Start Over
The Impact of Event Processing Flow on Asynchronous Server Efficiency.
- Source :
-
IEEE Transactions on Parallel & Distributed Systems . Mar2020, Vol. 31 Issue 3, p565-579. 15p. - Publication Year :
- 2020
-
Abstract
- Asynchronous event-driven server architecture has been considered as a superior alternative to the thread-based counterpart due to reduced multithreading overhead. In this paper, we conduct empirical research on the efficiency of asynchronous Internet servers, showing that an asynchronous server may perform significantly worse than a thread-based one due to two design deficiencies. The first one is the widely adopted one-event-one-handler event processing model in current asynchronous Internet servers, which could generate frequent unnecessary context switches between event handlers, leading to significant CPU overhead of the server. The second one is a write-spin problem (i.e., repeatedly making unnecessary I/O system calls) in asynchronous servers due to some specific runtime workload and network conditions (e.g., large response size and non-trivial network latency). To address these two design deficiencies, we present a hybrid solution by exploiting the merits of different asynchronous architectures so that the server is able to adapt to dynamic runtime workload and network conditions in the cloud. Concretely, our hybrid solution applies a lightweight runtime request checking and seeks for the most efficient path to process each request from clients. Our results show that the hybrid solution can achieve from 10 to 90 percent higher throughput than all the other types of servers under the various realistic workload and network conditions in the cloud. [ABSTRACT FROM AUTHOR]
- Subjects :
- *INTERNET servers
*EMPIRICAL research
*ARCHITECTURE
Subjects
Details
- Language :
- English
- ISSN :
- 10459219
- Volume :
- 31
- Issue :
- 3
- Database :
- Academic Search Index
- Journal :
- IEEE Transactions on Parallel & Distributed Systems
- Publication Type :
- Academic Journal
- Accession number :
- 141257881
- Full Text :
- https://doi.org/10.1109/TPDS.2019.2938500