5.4.3 Balanced Caching Response General
Speedup
The global speedup of the Balanced Caching
Algorithm depends on the proportion of pages that
belongs to each group and could be calculated by the
formula 1. If we group the speedups of “Group A”
and “Group B” and consider the same number of
pages in each group we could calculate the
maximum proportion of pages that belong to “Group
C” to have shorter response times using the
Balanced Caching Algorithm. The maximum
percentage of pages that belong to “Group C” to
have a general Speedup above 1 is 42%. This value
is enough higher to suggest that, in most cases, the
use of Balanced Caching Algorithm improve the
scenarios where is used only either fragmented
versions of pages or only non fragmented ones.
enhanced
enhanced
enhanced
Speedup
f
f
Speedup
+−
=
)1(
1
(1)
GroupC
GroupC
GroupB
GroupB
GroupA
GroupA
Speedup
f
Speedup
f
Speedup
f
++
≤
1
1
6 CONCLUSIONS AND FUTURE
WORK
An algorithm to improve the cases in which the
caching of fragments pages (ESI standard) has a
worse behaviour than expected has been presented.
A layer between the web cache and the clients has
been developed and also it has been tested over a
web application with a fragmented and non
fragmented version. The results demonstrate that the
proposed algorithm improves the general
performance of the application.
This algorithm is the only a first step in order to
develop a future tool that brakes down and aggregate
fragments, dynamically. In this way, we shall try to
achieve the optimal division of the pages depending
on their mean response times. This division has to be
done dynamically because the networks, servers and
clients’ status change along the time. Therefore, the
algorithm shall manage the pages using the
performance information of the last requests.
Another future research subject appears with the
need to know what are the conditions that web pages
have to fulfil to be faster o slower using or not
cached fragments.
Next future work will be to improve the
algorithm by reducing the period of time that the
algorithm remains in “Transient State”. When the
algorithm is in this state both versions of the page
are requested, thereby the slower version of the page
is also requested. Thus, we should dynamically
adjust the timeWindow and requestLimit
parameters, along the time, by getting higher
timeWindow and shortening the requestLimit
as long as always resolve the “Transient State” state
change to the same stationary state.
ACKNOWLEDGEMENTS
The authors acknowledge the partial financial
support of this research through the project code
TIN2006-02265 included in the programme
Programas Nacionales del Plan Nacional de
Investigación Científica, Desarrollo e Innovación
Tecnológica from Comisión Interministerial de
Ciencia y Tecnología (Ministerio de Educación y
Ciencia).
REFERENCES
Alcaraz, S., Juiz, C., Gilly, K., Puigjaner, R., 2006. A New
Bucket DiffServ Policy for Web Traffic. Proccedings
of TEMU 2006.
Arasu, A., Garcia-Molina, H., 2003. Extracting structured
data from Web pages. In SIGMOD.
Candan, K., D. Agrawal, D., 2001. View Invalidation for
Dynamic Content Caching in Multi tiered
Architectures. Proceedings of ICDCS-2001.
Cao, P., Zhang, J., Beach, k., 1998. Active Cache:
Caching Dynamic Contents on the Web, Middleware,
England.
Edge Side Incluyes – Estándar Specification.
http://www.esi.org.
Gilly, K., Alcaraz, S., Juiz, C., Puigjaner, R., 2007.
Service differentiation and QoS in a scalable content-
aware load balancing algorithm. Proceedings of the
40
th
Annual Simulationn Symposium 2007.
Guerrero, C., Juiz, C., Puigjaner, R., 2006. Estudio de
viabilidad de ESI en aplicaciones Web dinámicas.
Proceedings of IADIS WWW/Internet 2006.
JMeter – User Manual. http://jakarta.apache.org/jmeter/
Oracle Application Server Web Cache 10g – Technical
White Paper Information. http://www.oracle.com/
technology/products/ias/web_cache/
Ramaswamy, L., Iyengar, A., Liu, L., 2004. Automatic
Detection of Fragments in Dynamically Generated
Web Pages. Proceedings of the Thirteenth
International World Wide Web Conference.
Veliskakis, M., Roussos, J., 2005. DOMProxy: Enabling
Dynamic-Content Front-end Web Caching.
Proceedings of the 10th WCW 2005.
THE APPLICABILITY OF BALANCED ESI FOR WEB CACHING - A Proposed Algorithm and a Case of Study
203