Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com Volume 2, Issue 2, March April 2013 ISSN 2278-6856
Assistant Professor, College of Agricultural Information Technology, Anand Agricultural University, Anand, Gujarat - 388110, India
2
Dean Faculty of Computer Science, Kadi Sarva Viswavidyalaya (University), Gandhinagar, Gujarat, India
3
Associate Professor, College of Agricultural Information Technology, Anand Agricultural University, Anand, Gujarat - 388110, India
1. INTRODUCTION
Continue growth in web usage is causing a number of performance problems including slow response time, network congestion and availability of web services. There are number of approaches to resolving these problems but a complementary approach is to make the web server more powerful through the use of cluster based web architecture [1],[2]. This architecture offers many benefits such as more servers means more capacity to manage the web requests, reliability and availability are improved the services and design should be more easily scalable. This architecture has central dispatching component that distribute the incoming web request traffic among available web server system node [2][4]. A central component may be hardware or software [1]. Here we are developed a software dispatcher simulation model (JavaWebSim) that allow the combination of broad variety of technical features, such as the adoption of different request dispatching algorithms, availability and scalability of the web server systems and also display the data report of request execution by available server system nodes.
WEB
CLUSTER
In this paper we present applications of a simulation tool conceived for the performance evaluation of cluster-based Web architectures. JavaWebSim is a discrete-event simulator developed using the Java language. Java is platform independent programming language so JavaWebSim can run on any operating systems. It is biggest advantage of this simulation tool. JavaWebSim is user friendly and easy to operate because it provides Graphical User Interface (GUI) that designed using Java Swing. The Swing toolkit includes a rich set of components for building GUIs and adding interactivity to Java applications [6]. Java NIO (New Input Output) package used to network socket programming for request transmission process in web cluster. Java NIO provides multiplexed, non-blocking Input Output facility for writing a scalable server [5]. Using java NIO we can handle the multiple web requests with creating a single thread.
Page 327
Figure 2 Block diagram of JavaWebSim JavaWebSim has a modular software structure. It contains main four modules such as request classifier, request handler, Request Management and server selection; that perform the different operation for the web request assignment and management. Request Classifier: it performs the dispatcher service that run on port number 80. It receives all incoming requests from the client and classified the request it is manageable or normal using task management variable values. Request Handler: it performs the HTTP parsing process and fetch require information from request. Send a request to Server Selection for best server node then request assign to the server and give response to the client. Request Management: it performs the task management algorithms. If request is cacheable then execute the cacheable request management algorithm and if client affinity request then request assign to the previously assign server node. We can easily modified or add the new task assignment algorithms in this module. At present only cache management and client affinity algorithms are provided. Server Selection: it performs the task assignment algorithms for best server selection such as round robin, random, least connection, execution time load and content based distribution. In this module we can modified or add the new server selection algorithms.
3. DISPATCHING ALGORITHMS
JavaWebSim facilitate some dispatching algorithms that are classified in two categories: task management and task assignment. Task management algorithms perform by the request management module and task assignment algorithms performed by request handler module of JavaWebSim. At present JavaWebSim provides five task assignment and two task management algorithms those are give below: Random Algorithm [1],[7]: A randomly server is selected from web farm. Java Random object use for generate a random number and assign a task (request) to that server node. Round Robin Algorithm[1][7][9]: in this algorithm, server selection process uses the circular pattern. Take a Volume 2, Issue 2 March April 2013
The JavaWebSim provide the easy and attractive user interface for end user because it is developed using Java swing components. JavaWebSim provides the web cluster scalability and availability, selection of dispatching algorithms and total executed web request by available servers and start and stop service options. Some screen shots are given below
Figure 5 is a dispatching algorithm selection interface. It contains five algorithms for task assignments, we can select any one out of them and set require parameter information for that algorithm.
Figure 3 Service Start/Stop and Current setting information Above screen display the service menu and other options. It is also display the current setting information that available in report menu.
Figure 4 Server node scalability and availability Above screen display the setting menu option and interface of server scalability and availability information. We can easily add/delete server using above interface and JavaWeb Sim provide the facility to faulty server automatically move on fault server list and incoming request does not assign to faulty server. We run request generator program with different content such as static, dynamic and mix content for Round Robin, Random, least Connection and ETL task assignment algorithms and get the result data from JavaWebSim and finally generate the result graph.
6 CONCLUSION
Figure 5 Selection of dispatching algorithms This paper presents develop and implementation of a JavaWebSim modular simulation conceived for cluster based Web servers. The JavaWebSim can be configured to represent a broad variety of cluster-based Web Page 329
References
[1] Valeria Cardellini, Emiliano Casalicchio, Michele Colajani, Philip S Yu, The State of the Art in Locally Distributed Web-server Systems, IBM Research Report, pp. 10-12, 26-41, 2001. [2] M. Andreolini, E. Casalicchio. "A cluster-based web system providing differentiated and guaranteed services", Cluster Computing, vol.7, No.1, pp7-19, 2004. [3] E. Choi. "Performance test and analysis for an adaptive load balancing mechanism on distributed server cluster systems", Future Generation Computer Systems, No.20, pp 237-247, 2004. [4] Valeria Cardellini, Michele Colajani, Philip S Yu. Dynamic Load Balancing on Web-Server System, IEEE Internet computing, Vol. 3, pp. 10-15, 1999. [5] Alan Williamson Better Scaling with New I/O (the end of thread/socket marriage) [Online] available: http://www2.sys-con.com/itsg/virtualcd/ java/archives/ 0705/schreiber /index.html [accessed: Jan. 20,2012] [6] John Zukowski, The Definitive Guide to Java Swing , Apress (ISBN 1-59059-447-9), 2005 [7] Michele Colajani, Philip S Yu, D. M. Dias, Analysis of Task assignment polices in scalable distributed web systems, IEEE Transactions on Parallel and Distributed Systems, Vol. 9, pp. 7-13, 1998. [8] Emiliano Casalicchio, Valeria Cardellini, Michele Colajanni, Content-Aware Dispatching Algorithms for Cluster-Based Web Servers, Cluster Computing Vol 5, pp. 6574, 2002. [9] Schroeder T, Goddard S, Ramamurthy B, Scalable web server clustering technologies, IEEE Networking, pp. 3845, 2000. [10] Athena Vakali, Evolutionary Techniques for Web Caching, Distributed and Parallel Databases, Vol 11, pp. 93116, 2002. [11] Kamani gautam, Dr N.N. Jani, Dr. Y.R. Ghodasara Cacheable Web Request Management at Dispatcher level in Cluster Web Server Systems IJET-AE ( ISSN: 2250-2459 ) ,Volume 2, pp. 27-30, 2012. [12] Kamani gautam, Dr N.N. Jani, Dr P.V. Virparia Development of Software Dispatcher Based Load Balancing Algorithms for Heterogeneous Cluster Based Web Systems NJSIT (ISSN: 0974-3308), 2012. [13] A. Karakos, D. Patsas, A. Bornea and S. Kontogiannis, Balancing HTTP traffic using Volume 2, Issue 2 March April 2013
Dr Y. R. Ghodasara received the B.Sc., Master of computer Application and Ph.D. (computer science) from Saurashtra University in 1997, 2001 and 2009, respectively. He has rich experience of 12 years teaching in computer science and Applications. He is a research guide in R.K. University. His research work in the area of Distributed Computing.
Page 330