计算机应用 ›› 2014, Vol. 34 ›› Issue (4): 973-976.DOI: 10.11772/j.issn.1001-9081.2014.04.0973

• 网络与通信 • 上一篇    下一篇

基于自校正分散控制的Web服务器比例延迟保证

郭光,张严心   

  1. 北京交通大学 电子信息工程学院,北京 100044
  • 收稿日期:2013-09-29 修回日期:2013-11-28 出版日期:2014-04-01 发布日期:2014-04-29
  • 通讯作者: 郭光
  • 作者简介:郭光(1990-),男,山东泰安人,硕士研究生,主要研究方向:网络控制系统;
    张严心(1976-),女,辽宁盘锦人,副教授,博士,主要研究方向:复杂系统、复杂网络、模糊自适应控制。
  • 基金资助:

    北京交通大学校科研基金资助项目

Proportional delay guarantee on Web server based on decentralized self-tuning control

GUO Guang,ZHANG Yanxin   

  1. School of Electronic and Information Engineering, Beijing Jiaotong University, Beijing 100044, China
  • Received:2013-09-29 Revised:2013-11-28 Online:2014-04-01 Published:2014-04-29
  • Contact: GUO Guang
  • Supported by:

    2013JBM002

摘要:

Apache Web服务器一般采用单变量模型,处理多优先级延迟保证时需多次建模,可扩展性不佳。为此提出一种Web服务器多输入多输出(MIMO)模型,并结合分散控制理论和自校正控制(STC)理论设计分散自校正控制器。该控制器动态调节处理不同优先级请求的工作线程数目,能保证较高优先级请求更快得到处理且维持不同优先级请求的平均延迟比为设定值,模型和控制器参数根据在线辨识结果实时更新。仿真表明,过载情况下即使并发客户连接数目急剧变化,闭环系统中的服务器仍能维持较好的比例延迟保证。

Abstract:

Single-variable model is generally used for Apache Web server. It has poor scalability when it is used to handle multiple priorities delay guarantee. A Multi-Input Multi-Output (MIMO) system model for Web server was proposed with decentralized self-tuning controllers based on decentralized control theory and Self-Tuning Control (STC) theory. These controllers could dynamically adjust the number of worker threads, which handled different priority requests to ensure that the higher priority requests were processed faster and the average delay ratio of different priority was maintained the same as settings. The parameters of model and controllers were updated according to the result of online identification. The results of simulation tests indicate that proportional delay guarantee can be maintained on the Web server in the closed-loop system even if the number of concurrent client connections change abruptly under overload conditions.

中图分类号: