Performance-Enhanced Caching Scheme for Web Clusters for Dynamic Content
نویسندگان
چکیده
In order to improve the QoS of applications, clusters of web servers are increasingly used in web services. Caching helps improve performance in web servers, but is largely exploited only for static web content. With more web applications using backend databases today, caching of dynamic content has a crucial role in web performance. This paper presents a set of cache management schemes for handling dynamic data in web clusters by sharing cached contents. These schemes use either automatic or expiry-based cache validation, and work with any type of request distribution. The techniques improve response by utilizing the caches efficiently and reducing redundant database accesses by web servers while ensuring cache consistency. The authors present caching schemes for both horizontal and vertical cluster architectures. Simulations show an appreciable performance rise in response times of queries in clustered web servers. recently caching has largely been exploited only for static web content. Today, however, most web applications serve up dynamic content to the clients by acquiring data from backend databases (Challenger et al., 2004). While caching of this dynamic data, wherever possible, does improve the response times of the servers (Holmedahl et al., 1998), the need for maintaining cache currency with the database is a problem that needs to be addressed, and its complexity increases when caching is employed in multiple servers within the cluster. When requests from clients for web pages are distributed across a cluster, different requests DOI: 10.4018/jbdcn.2011070102 International Journal of Business Data Communications and Networking, 7(3), 16-36, July-September 2011 17 Copyright © 2011, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited. for a given page may be directed to different web servers at different times. Each server uses its own cache to respond to this request, accessing the cache immediately without re-querying the database. In case of static content the data does not change and so the cached result would be valid to answer subsequent requests. But if the content is dynamic, it becomes necessary to maintain data consistency among all the caches in the cluster, since each server’s cache is independent, to ensure that the cluster members do not return different results for the same request. In addition, visiting the database by several servers to fetch the same data is inefficient. There is a wide scope for further work on caching of dynamic content in web clusters towards improving QoS of Web services. In this paper we present a set of cache management schemes to improve the overall performance of a web cluster by sharing cached contents with the help of the front-end web switch. Our methods differ from earlier shared caching approaches (Chen et al., 2003; Cuenca-Acuna et al., 2001; Holmedahl et al., 1998). Our schemes utilize the server caches efficiently, reducing redundant database accesses by web servers while also ensuring consistency of cache contents. The proposed techniques could be used with any algorithm used for request distribution within a cluster. Two principal methods are generally used for cache validation of dynamic data: automatic and expiry-based. The former is preferred for frequently changing data while the latter is employed when the data does not change frequently or when data does not have to be refreshed to the client whenever it changes. We present our caching algorithms for both these methods. Clusters are also classified in two ways: horizontal and vertical (Turaga et al., 2006). Constituent servers in a horizontal cluster reside on different physical machines; in a vertical cluster they reside on a single physical machine. We propose our caching schemes for both types of clusters. Our simulations show an appreciable performance increase in all cases. CACHING OF DYNAMIC DATA IN WEB SERVERS
منابع مشابه
Improve Replica Placement in Content Distribution Networks with Hybrid Technique
The increased using of the Internet and its accelerated growth leads to reduced network bandwidth and the capacity of servers; therefore, the quality of Internet services is unacceptable for users while the efficient and effective delivery of content on the web has an important role to play in improving performance. Content distribution networks were introduced to address this issue. Replicatin...
متن کاملProxy+: Simple Proxy Augmentation for Dynamic Content Processing
Caching dynamic content can bring many benefits to the performance and scalability of Web application servers. However, such mechanisms are usually tightly coupled to individual application servers (or even applications) that prevent caching at more advantageous points. In this paper we propose an approach to enable dynamic content caching at enhanced Web proxies which requires only simple modi...
متن کاملClass-Based Delta-Encoding: A Scalable Scheme for Caching Dynamic Web Content
Caching static HTTP traffic in proxy-caches has reduced bandwidth consumption and download latency. However, web-caching performance is hard to increase further due to the growing number of noncachable dynamic web-documents. Delta-encoding is a promising technique that exploits temporal correlation among different snapshots of a dynamic document, and renders dynamic traffic cachable. It achieve...
متن کاملDynamic Caching Design Proto-Pattern for J2EE Web Component Development
This article covers how to extend the scope of caching to uncacheable content. It shows how to optimize the performance of J2EE Web applications by caching some of the dynamically-generated content. In this paper, I have identified a design proto-pattern, named Dynamic Caching, which addresses the performance impact of the dynamically generated Web content.
متن کاملبهینهسازی اجرا و پاسخ صفحات وب در فضای ابری با روشهای پیشپردازش، مطالعه موردی سامانههای وارنیش و انجینکس
The response speed of Web pages is one of the necessities of information technology. In recent years, renowned companies such as Google and computer scientists focused on speeding up the web. Achievements such as Google Pagespeed, Nginx and varnish are the result of these researches. In Customer to Customer(C2C) business systems, such as chat systems, and in Business to Customer(B2C) systems, s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IJBDCN
دوره 7 شماره
صفحات -
تاریخ انتشار 2011