Abstract
Modern web applications have steadily increased in richness and complexity, and they put significant demands on system resources such as server CPU, memory and most importantly the network bandwidth. When seen at Internet scale, a tiny wastage in a resource can translate into a huge loss. For instance, we will show that youtube.com homepage can potentially save up to 4500 GB worth of bandwidth every day! It is, therefore, important for the application designers to: 1) identify what opportunities exist for improvement and 2) ensure that computing resources are efficiently utilized.
We present the results of an extensive investigation of how the useful information is distributed across various HTML tags and their attributes inside the served HTML pages taken from a large number of dynamic public websites. Our findings show that the useful information is often restricted to only a handful of the tags and attributes. We systematically explore the efficiency differences between various classes of frameworks that are used for developing modern web applications. Leveraging our findings, we propose a technique which decouples the view’s markup and data thus allowing them to travel separately and only on demand. This improves the web application efficiency; for instance our experiments show that this approach increased the throughput by a factor of about 7.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Alexa Inc. Alexa - top sites by category: Shopping, http://www.alexa.com/topsites/category/Top/Shopping (retrieved: March 2011)
Alexa Inc. About the alexa traffic rankings. http://www.alexa.com/help/traffic-learn-more (retrieved: March 2011)
Lin, Q.Z.Z., Wu, J., Zhou, H.: Research on web applications using ajax new technologies. In: MMID 2008, pp. 139–142 (December 2008)
Paulson, L.D.: Building rich web applications with ajax. IEEE Computer 38(10), 14–17 (2005)
Json, D.C.: The fat-free alternative to xml (January 2011), http://www.json.org/fatfree.html
Google Inc. Google web toolkit developer guide (January 2011), http://code.google.com/webtoolkit/doc/1.6/DevGuide.html
Microsoft Inc. Microsoft silverlight reference documentation (January 2011), http://msdn.microsoft.com/en-us/library/cc838158%28VS.95%29.aspx
Apache Software Foundation. Apache struts developer guide (March 2010), http://struts.apache.org/2.1.8/docs/guides.html
Ruby on Rails Foundation. Ruby on rails developer guide (March 2010), http://guides.rubyonrails.org
Zend. Php zend framework manual (January 2011), http://framework.zend.com/manual/en/
Sun Microsystem. Java server faces (jsf) reference documentation (January 2011), http://java.sun.com/javaee/javaserverfaces/reference/docs/index.html
Microsoft Inc. Microsoft asp.net reference documentation (2011), http://msdn.microsoft.com/en-us/library/dd394709%28VS.100%29.aspx
Gross, C.: Ajax Patterns And Best Practices, ch.3. Dreamtech Press (2007)
JQuery. Jquery documentation, http://docs.jquery.com/Main_Page (retrieved: January 2011)
The Dojo Foundation. Dojo toolkit guide (March 2011), http://dojotoolkit.org/reference-guide/
Yahoo Inc. Yui library manual (March 2010), http://developer.yahoo.com/yui/
The Apache Software Foundation. Apache jmeter (March 2010), http://jakarta.apache.org/jmeter/index.html
Microsoft TechNet. Windows sysinternals - process explorer v12.03 (February 2011), http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
YourKit LLC. Yourkit profiler 5 for .net (March 2010), http://www.yourkit.com/.net/profiler/index.jsp
Alexa Inc. Youtube.com site info., http://www.alexa.com/siteinfo/youtube.com (retrieved: March 2011)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Sodhi, B., Prabhakar, T.V. (2011). A Design Pattern to Decouple Data from Markup. In: Huemer, C., Setzer, T. (eds) E-Commerce and Web Technologies. EC-Web 2011. Lecture Notes in Business Information Processing, vol 85. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23014-1_3
Download citation
DOI: https://doi.org/10.1007/978-3-642-23014-1_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-23013-4
Online ISBN: 978-3-642-23014-1
eBook Packages: Computer ScienceComputer Science (R0)