Controlling the performance of 3-tiered web sites: modeling, design and implementation

A. Kamra, V. Misra, E. Nahum
{"title":"Controlling the performance of 3-tiered web sites: modeling, design and implementation","authors":"A. Kamra, V. Misra, E. Nahum","doi":"10.1145/1005686.1005744","DOIUrl":null,"url":null,"abstract":"E-Commerce is rapidly becoming an everyday activity as consumers gain familiarity with shopping on the Internet. The infrastructure behind E-Commerce Web sites is typically composed of a three-tiered architecture, consisting of a front-end Web server, an application server and a back-end database. Two problems are frequently encountered with deploying such Web sites. First is overload, where the volume of requests for transactions at a site exceeds the site’s capacity for serving them and renders the site unusable. Second is responsiveness, where the lack of adequate response time leads to lowered usage of a site, and subsequently, reduced revenues. This paper presents a method for controlling multiple-tiered Web site performance, both by bounding response times and preventing overload. Our approach uses a self-tuning proportional integral (PI) controller for admission control, enabling overload protection and bounding response time based on an administrator-based policy (e.g., 90 percent of the requests should see a response time of less than 100 milliseconds). By using a self-tuning controller, our system automatically adapts to variation in load and requires only two parameter settings. Our method requires no changes to the operating system, Web server, application server or database. This allows rapid deployment and use of pre-existing components. We present an implementation of our controller in a proxy, called Yaksha. We evaluate our system with standard software components used in multiple-tiered e-Commerce Web sites, namely Linux, Apache, Tomcat, and MySQL. We drive the system using the industry-standard TPC-W [2] benchmark, and demonstrate that Yaksha achieves both stable behavior during overload and bounded response times. Our results show that a properly designed and implemented controller be used in a complex environment, such as multi-tiered Web sites.","PeriodicalId":172626,"journal":{"name":"SIGMETRICS '04/Performance '04","volume":"75 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SIGMETRICS '04/Performance '04","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1005686.1005744","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

E-Commerce is rapidly becoming an everyday activity as consumers gain familiarity with shopping on the Internet. The infrastructure behind E-Commerce Web sites is typically composed of a three-tiered architecture, consisting of a front-end Web server, an application server and a back-end database. Two problems are frequently encountered with deploying such Web sites. First is overload, where the volume of requests for transactions at a site exceeds the site’s capacity for serving them and renders the site unusable. Second is responsiveness, where the lack of adequate response time leads to lowered usage of a site, and subsequently, reduced revenues. This paper presents a method for controlling multiple-tiered Web site performance, both by bounding response times and preventing overload. Our approach uses a self-tuning proportional integral (PI) controller for admission control, enabling overload protection and bounding response time based on an administrator-based policy (e.g., 90 percent of the requests should see a response time of less than 100 milliseconds). By using a self-tuning controller, our system automatically adapts to variation in load and requires only two parameter settings. Our method requires no changes to the operating system, Web server, application server or database. This allows rapid deployment and use of pre-existing components. We present an implementation of our controller in a proxy, called Yaksha. We evaluate our system with standard software components used in multiple-tiered e-Commerce Web sites, namely Linux, Apache, Tomcat, and MySQL. We drive the system using the industry-standard TPC-W [2] benchmark, and demonstrate that Yaksha achieves both stable behavior during overload and bounded response times. Our results show that a properly designed and implemented controller be used in a complex environment, such as multi-tiered Web sites.
控制三层网站的性能:建模、设计和实现
随着消费者对网上购物的熟悉,电子商务正迅速成为一种日常活动。电子商务网站背后的基础设施通常由三层体系结构组成,包括前端Web服务器、应用程序服务器和后端数据库。部署这样的Web站点时经常遇到两个问题。首先是过载,即站点上的事务请求量超过了站点的服务能力,从而导致站点无法使用。其次是响应性,缺乏足够的响应时间会导致站点使用率降低,进而导致收入减少。本文提出了一种通过限制响应时间和防止过载来控制多层Web站点性能的方法。我们的方法使用自调优比例积分(PI)控制器进行准入控制,启用过载保护,并基于基于管理员的策略限制响应时间(例如,90%的请求的响应时间应该小于100毫秒)。通过使用自整定控制器,我们的系统自动适应负载的变化,只需要两个参数设置。我们的方法不需要更改操作系统、Web服务器、应用服务器或数据库。这允许快速部署和使用预先存在的组件。我们在一个名为Yaksha的代理中实现了我们的控制器。我们用多层电子商务网站中使用的标准软件组件(即Linux、Apache、Tomcat和MySQL)来评估我们的系统。我们使用行业标准TPC-W[2]基准测试驱动系统,并证明Yaksha在过载和有限响应时间内都能实现稳定的行为。我们的结果表明,适当设计和实现的控制器可以用于复杂的环境,例如多层Web站点。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信