Jianbo Lu, Guanzhong Dai, Dejun Mu, Jiang Yu, Haipeng Li
{"title":"Tomcat Web服务器的QoS保证:一种反馈控制方法","authors":"Jianbo Lu, Guanzhong Dai, Dejun Mu, Jiang Yu, Haipeng Li","doi":"10.1109/CyberC.2011.39","DOIUrl":null,"url":null,"abstract":"In this paper, classical feedback control theory is used to contribute two types of QoS guarantees, relative delay guarantee ( RDG) and absolute delay guarantee (ADG). RDG aims to maintain the average queuing delay ratio between different classes of requests according to pre-specified parameters, and ADG aims to ensure the average queuing delay for requests with high priority is no more than the threshold configured. All components of the closed-loop of QoS guarantee is implemented for HTTP dynamic requests in the database connection pool (DBCP) in Tomcat Web Server. Through off-line system identification, the approximate linear time-invariant model of the DBCP was established; RDG and ADG controllers were designed to use the Root Locus method. The controller was invoked periodically to calculate and adjust the probabilities for different classes of requests to use a limited number of database connections, according to the error between the measured queuing delay and the reference value. The experiments were conducted to evaluate the performance of the closed-loop systems. Experiment results demonstrated that, the controllers designed were capable of handling fluctuating workloads, and achieved RDG and ADG effectively in Tomcat web server.","PeriodicalId":227472,"journal":{"name":"2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":"{\"title\":\"QoS Guarantee in Tomcat Web Server: A Feedback Control Approach\",\"authors\":\"Jianbo Lu, Guanzhong Dai, Dejun Mu, Jiang Yu, Haipeng Li\",\"doi\":\"10.1109/CyberC.2011.39\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, classical feedback control theory is used to contribute two types of QoS guarantees, relative delay guarantee ( RDG) and absolute delay guarantee (ADG). RDG aims to maintain the average queuing delay ratio between different classes of requests according to pre-specified parameters, and ADG aims to ensure the average queuing delay for requests with high priority is no more than the threshold configured. All components of the closed-loop of QoS guarantee is implemented for HTTP dynamic requests in the database connection pool (DBCP) in Tomcat Web Server. Through off-line system identification, the approximate linear time-invariant model of the DBCP was established; RDG and ADG controllers were designed to use the Root Locus method. The controller was invoked periodically to calculate and adjust the probabilities for different classes of requests to use a limited number of database connections, according to the error between the measured queuing delay and the reference value. The experiments were conducted to evaluate the performance of the closed-loop systems. Experiment results demonstrated that, the controllers designed were capable of handling fluctuating workloads, and achieved RDG and ADG effectively in Tomcat web server.\",\"PeriodicalId\":227472,\"journal\":{\"name\":\"2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2011-10-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"7\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CyberC.2011.39\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CyberC.2011.39","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
摘要
本文利用经典反馈控制理论,提出了相对延迟保证(RDG)和绝对延迟保证(ADG)两种类型的QoS保证。RDG的目标是按照预先设定的参数保持不同类别请求之间的平均排队延迟比,而ADG的目标是确保高优先级请求的平均排队延迟不超过配置的阈值。QoS保证闭环的所有组件都是在Tomcat Web Server的DBCP (database connection pool)中对HTTP动态请求实现的。通过离线系统辨识,建立了DBCP的近似线性定常模型;采用根轨迹法设计RDG和ADG控制器。根据测量的排队延迟与参考值之间的误差,周期性地调用控制器来计算和调整不同类别的请求使用有限数据库连接数的概率。通过实验对闭环系统的性能进行了评价。实验结果表明,所设计的控制器能够处理波动的工作负载,并在Tomcat web服务器上有效地实现了RDG和ADG。
QoS Guarantee in Tomcat Web Server: A Feedback Control Approach
In this paper, classical feedback control theory is used to contribute two types of QoS guarantees, relative delay guarantee ( RDG) and absolute delay guarantee (ADG). RDG aims to maintain the average queuing delay ratio between different classes of requests according to pre-specified parameters, and ADG aims to ensure the average queuing delay for requests with high priority is no more than the threshold configured. All components of the closed-loop of QoS guarantee is implemented for HTTP dynamic requests in the database connection pool (DBCP) in Tomcat Web Server. Through off-line system identification, the approximate linear time-invariant model of the DBCP was established; RDG and ADG controllers were designed to use the Root Locus method. The controller was invoked periodically to calculate and adjust the probabilities for different classes of requests to use a limited number of database connections, according to the error between the measured queuing delay and the reference value. The experiments were conducted to evaluate the performance of the closed-loop systems. Experiment results demonstrated that, the controllers designed were capable of handling fluctuating workloads, and achieved RDG and ADG effectively in Tomcat web server.