首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >The Impact of Event Processing Flow on Asynchronous Server Efficiency
【24h】

The Impact of Event Processing Flow on Asynchronous Server Efficiency

机译:事件处理流程对异步服务器效率的影响

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:异步事件驱动的服务器体系结构由于减少了多线程开销,因此被认为是基于线程的服务器的替代方案。在本文中,我们对异步Internet服务器的效率进行了实证研究,表明由于两个设计缺陷,异步服务器的性能可能明显比基于线程的服务器差。第一个是当前异步Internet服务器中广泛采用的单事件单处理程序事件处理模型,该模型可能在事件处理程序之间频繁生成不必要的上下文切换,从而导致服务器的CPU开销很大。第二个问题是由于某些特定的运行时工作负载和网络条件(例如,较大的响应大小和不平凡的网络延迟)导致的异步服务器中的写自旋问题(即,反复进行不必要的I / O系统调用)。为了解决这两个设计缺陷,我们通过利用不同异步体系结构的优点提出了一种混合解决方案,以便服务器能够适应云中的动态运行时工作负载和网络条件。具体而言,我们的混合解决方案应用了轻量级的运行时请求检查,并寻求最有效的路径来处理来自客户端的每个请求。我们的结果表明,在云中各种实际工作负载和网络条件下,混合解决方案可比所有其他类型的服务器提高10%至90%的吞吐量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号