Abstract

Scheduling algorithm and cache replacement algorithm are two important aspects in a web server cluster, which affect, even determine, the performance of the cluster system. However, their performance depends on client access pattern and some key system parameters to a large extent. In this paper, we design and implement a trace–driven web server cluster simulation platform based on JavaSim, called WSCSim, to evaluate the two kinds of algorithms. The algorithms are directly written in Java, so complicated algorithms can be simulated. In the platform, users are allowed to add new trace parsers to support different trace formats, and can utilise the timer and hook component to collect related information and then calculate the performance indexes they are interested in. Especially, the platform adopts loosely–coupled component architecture to facilitate extension, and all the extensible components are plug and play (PnP). All the components and their parameters can be configured in a configuration file of XML format. Two simulation application scenarios show the feasibility and validity of WSCSim.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.