An Adaptive Scheduling Policy for Staged Applications

Mohammad Shadi Al Hakeem, Jan Richling, Gero Mühl, Hans-Ulrich Heiß
{"title":"An Adaptive Scheduling Policy for Staged Applications","authors":"Mohammad Shadi Al Hakeem, Jan Richling, Gero Mühl, Hans-Ulrich Heiß","doi":"10.1109/ICIW.2009.34","DOIUrl":null,"url":null,"abstract":"The performance of Web servers and application servers is a crucial factor for the success of the underlying business activity. Current commercial servers (such as Apache and Microsoft’s IIS) usually employ a thread-based concurrency policy for executing request simultaneously. However, with this policy the throughput tends to collapse when massive overload occurs. Event-based concurrency has been proposed as an alternative, but-–similar to the thread-based approach–-it suffers in its pure form from a potential memory access bottleneck. This is avoided by a server based on a Staged Event-Driven Architecture (SEDA) which combines the two approaches to take advantage of locality in data and code within each state.  In this paper, we present a three layer observer/ controller architecture for dynamic performance control of SEDA-based application servers. Control is achieved by a strategy which adapts the resources assigned to each stage based on the observed throughput and queue length of each stage using a feedback loop. To validate our strategy and to compare with other strategies, we implemented a simulation environment. The results gained demonstrate that our approach successfully self-optimizes the CPU time allocation and achieves a competitive system throughput while avoiding performance degradation under overload and dynamic changes in the system.","PeriodicalId":390934,"journal":{"name":"2009 Fourth International Conference on Internet and Web Applications and Services","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 Fourth International Conference on Internet and Web Applications and Services","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICIW.2009.34","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

The performance of Web servers and application servers is a crucial factor for the success of the underlying business activity. Current commercial servers (such as Apache and Microsoft’s IIS) usually employ a thread-based concurrency policy for executing request simultaneously. However, with this policy the throughput tends to collapse when massive overload occurs. Event-based concurrency has been proposed as an alternative, but-–similar to the thread-based approach–-it suffers in its pure form from a potential memory access bottleneck. This is avoided by a server based on a Staged Event-Driven Architecture (SEDA) which combines the two approaches to take advantage of locality in data and code within each state.  In this paper, we present a three layer observer/ controller architecture for dynamic performance control of SEDA-based application servers. Control is achieved by a strategy which adapts the resources assigned to each stage based on the observed throughput and queue length of each stage using a feedback loop. To validate our strategy and to compare with other strategies, we implemented a simulation environment. The results gained demonstrate that our approach successfully self-optimizes the CPU time allocation and achieves a competitive system throughput while avoiding performance degradation under overload and dynamic changes in the system.
分级应用的自适应调度策略
Web服务器和应用服务器的性能是底层业务活动成功的关键因素。当前的商业服务器(如Apache和Microsoft的IIS)通常采用基于线程的并发策略来同时执行请求。但是,使用此策略,当发生大量过载时,吞吐量往往会崩溃。基于事件的并发性被提议作为一种替代方法,但是——与基于线程的方法类似——它的纯粹形式受到潜在的内存访问瓶颈的影响。基于阶段事件驱动架构(SEDA)的服务器可以避免这种情况,SEDA结合了这两种方法来利用每个状态内数据和代码的局部性。本文提出了一种基于seda的应用服务器动态性能控制的三层观察者/控制器体系结构。控制是通过一种策略来实现的,该策略使用反馈循环,根据观察到的吞吐量和每个阶段的队列长度来调整分配给每个阶段的资源。为了验证我们的策略并与其他策略进行比较,我们实现了一个仿真环境。结果表明,我们的方法成功地自优化了CPU时间分配,实现了具有竞争力的系统吞吐量,同时避免了系统过载和动态变化下的性能下降。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信