Title :
An Adaptive Scheduling Policy for Staged Applications
Author :
Al Hakeem, M.S. ; Richling, Jan ; Muhl, G. ; Heiß, Hans-Ulrich
Author_Institution :
Commun. & Oper. Syst. Group, Berlin Univ. of Technol., Berlin
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 Microsoftpsilas 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.
Keywords :
Internet; adaptive scheduling; feedback; file servers; observers; telecommunication control; Apache; CPU time allocation; Microsoft IIS; SEDA-based application servers; Web servers; adaptive scheduling policy; commercial servers; controller architecture; dynamic performance control; event-based concurrency; feedback loop; memory access bottleneck; queue length; staged applications; staged event-driven architecture; thread-based concurrency policy; three layer observer; Adaptive scheduling; Computer architecture; Concurrent computing; Network servers; Processor scheduling; Resource management; Throughput; Web and internet services; Web server; Yarn; event-driven; performance control; scheduling; staged architecture;
Conference_Titel :
Internet and Web Applications and Services, 2009. ICIW '09. Fourth International Conference on
Conference_Location :
Venice/Mestre
Print_ISBN :
978-1-4244-3851-8
Electronic_ISBN :
978-0-7695-3613-2
DOI :
10.1109/ICIW.2009.34