...
首页> 外文期刊>ACM Transactions on Internet Technology >Mitigating Tail Response Time of n-Tier Applications: The Impact of Asynchronous Invocations
【24h】

Mitigating Tail Response Time of n-Tier Applications: The Impact of Asynchronous Invocations

机译:缓解N-Tier应用程序的尾部响应时间:异步调用的影响

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

摘要

Consistent low response time is essential for e-commerce due to intense competitive pressure. However, practitioners of web applications have often encountered the long-tail response time problem in cloud data centers as the system utilization reaches moderate levels (e.g., 50%). Our fine-grained measurements of an open source n-tier benchmark application (RUBBoS) show such long response times are often caused by Cross-tier Queue Overflow (CTQO). Our experiments reveal the CTQO is primarily created by the synchronous nature of RPC-style call/response inter-tier communications, which create strong inter-tier dependencies due to the request processing chain of classic n-tier applications composed of synchronous RPC/thread-based servers. We remove gradually the dependencies in n-tier applications by replacing the classic synchronous servers (e.g., Apache, Tomcat, and MySQL) with their corresponding event-driven asynchronous version (e.g., Nginx, XTomcat, and XMySQL) one-by-one. Our measurements with two application scenarios (virtual machine co-location and background monitoring interference) show that replacing a subset of asynchronous servers will shift the CTQO, without significant improvements in long-tail response time. Only when all the servers become asynchronous the CTQO is resolved. In synchronous n-tier applications, long-tail response times resulting from CTQO arise at utilization as low as 43%. On the other hand, the completely asynchronous n-tier system can disrupt CTQO and remove the long tail latency at utilization as high as 83%.
机译:由于强烈的竞争压力,一致的低响应时间对于电子商务至关重要。然而,随着系统利用率达到中等水平(例如,50%),Web应用程序的从业者经常遇到云数据中心的长尾响应时间问题。我们对开源N层基准申请(RUBBOS)的细粒度测量显示了这种长响应时间通常是由交叉层队列溢出(CTQO)引起的。我们的实验揭示了CTQO主要由RPC式呼叫/响应间通信的同步性创建,它由于由同步RPC /线程组成的经典N层应用程序的请求处理链而产生强大的层间依赖项基于服务器。我们通过用相应的事件驱动的异步版本(例如,nginx,xtomcat和xmysql)替换经典同步服务器(例如,apache,tomcat和mysql)逐渐逐渐逐渐删除n层应用程序中的依赖关系。我们的测量有两个应用场景(虚拟机协调位置和背景监视干扰)显示,更换异步服务器的子集将移位CTQO,而不会在长尾响应时间内改进。只有当所有服务器都变得异步时,才能解决CTQO。在同步N层应用中,CTQO产生的长尾响应时间在利用率下产生低至43%。另一方面,完全异步的N层系统可以破坏CTQO并在利用率下删除长达83%的长尾延迟。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号