
EXPLORATION OF DYNAMIC WEB PAGE PARTITIONING FOR INCREASED WEB PAGE DELIVERY PERFORMANCE BRIAN M. KRUPP BACHELOR OF SCIENCE IN COMPUTER INFORMATION SYSTEMS Baldwin-Wallace College May, 2005 submitted in partial fulfillment of requirement for the degree MASTERS OF COMPUTER AND INFORMATION SCIENCE at the Cleveland State University December, 2010 APPROVAL PAGE This thesis/dissertation has been approved for the Department of COMPUTER AND INFORMATION SCIENCE and the College of Graduate Studies by _________________________________________Date______________ Thesis Chairperson, Dr. Timothy Arndt Computer and Information Science _________________________________________Date______________ Committee Member, Dr. Ben Blake Computer and Information Science _________________________________________Date______________ Committee Member, Dr. Janche Sang Computer and Information Science EXPLORATION OF DYNAMIC WEB PAGE PARTITIONING FOR INCREASED WEB PAGE DELIVERY PERFORMANCE BRIAN KRUPP ABSTRACT The increasing use of the Internet and demand for real-time information has increased the amount of dynamic content generated residing in more complex distributed environments. The performance of delivering these web pages has been improved through more traditional techniques such as caching and newer techniques such as pre-fetching. In this research, we explore the dynamic partitioning of web page content using concurrent AJAX requests to improve web page delivery performance for resource intensive synchronous web content. The focus is more on enterprise web applications that exist in an environment such that a page’s data and processing is not local to one web server, rather requests are made from the page to other systems such as database, web services, and legacy systems. From these types of environments, the dynamic partitioning method can make the most performance gains by allowing the web server to run requests for partitions of a page in parallel while other systems return requested data. This differentiates from traditional uses of AJAX where traditionally iii AJAX is used for a richer user experience making a web application appear to be a desktop application on the user’s machine. Often these AJAX requests are also initiated by a user action such as a mouse click, key press, or used to check the server periodically for updates. In this research we studied the performance of a manually partitioned page and built a dynamic parser to perform dynamic partitioning and analyzed the performance results of two types of applications, one where most processing is local and another where processing is dependent on other systems such as database, web services and legacy systems. The results presented show that there are definite performance gains in using a partitioning scheme in a web page to deliver the web page faster to the user. iv TABLE OF CONTENTS CHAPTER I INTRODUCTION ...................................................................................................................... 1 CHAPTER II RELATED WORK ..................................................................................................................... 3 CHAPTER III RESEARCH ENVIRONMENT .................................................................................................... 5 LINUX APACHE MYSQL PHP (LAMP) ................................................................................................................ 5 Linux ....................................................................................................................................................... 6 Apache ................................................................................................................................................... 6 MySQL .................................................................................................................................................... 6 PHP ......................................................................................................................................................... 6 PERL ............................................................................................................................................................. 7 AJAX ............................................................................................................................................................ 7 Traditional Approach ............................................................................................................................. 8 Sequential AJAX ..................................................................................................................................... 8 Concurrent AJAX................................................................................................................................... 10 SUMMARY OF RESEARCH ENVIRONMENT............................................................................................................ 11 CHAPTER IV TESTING CONCURRENT AJAX SUPPORT IN MAJOR BROWSERS ........................................... 12 MOZILLA FIREFOX 3.6 .................................................................................................................................... 12 INTERNET EXPLORER 8.0 ................................................................................................................................. 13 GOOGLE CHROME 5.0 .................................................................................................................................... 14 APPLE SAFARI 4.0.......................................................................................................................................... 14 APPLE SAFARI 5.0.......................................................................................................................................... 15 VERIFICATION ............................................................................................................................................... 15 CONCLUSION OF TESTING CONCURRENT CONNECTIONS ........................................................................................ 17 CHAPTER V TESTING ORDER OF CONCURRENT BROWSER REQUESTS ..................................................... 18 TESTING METHOD ......................................................................................................................................... 18 TESTING RESULTS .......................................................................................................................................... 19 CONSIDERATIONS .......................................................................................................................................... 20 CHAPTER VI MANUAL PARTITION OF AN EXAMPLE PAGE ...................................................................... 21 APPROACH ................................................................................................................................................... 21 SEPARATE FILE APPROACH............................................................................................................................... 23 SEPARATE METHOD APPROACH........................................................................................................................ 24 PARSING THE PAGE ........................................................................................................................................ 25 TESTING ....................................................................................................................................................... 28 RESULTS ...................................................................................................................................................... 30 CONSIDERATIONS .......................................................................................................................................... 31 CHAPTER VII LOAD TESTING (WHERE IS THE BOTTLENECK?) ................................................................... 32 v TESTING APPROACH ....................................................................................................................................... 32 PRE-PARTITIONED LOAD TEST .......................................................................................................................... 33 Schedule ............................................................................................................................................... 33 CollectD Results .................................................................................................................................... 33 Memory Test Results ............................................................................................................................ 35 POST-PARTITIONED LOAD TEST ........................................................................................................................ 36 Schedule ............................................................................................................................................... 36 CollectD Results .................................................................................................................................... 36 Memtest Results .................................................................................................................................. 37 CONCLUSION AND COMPARISON OF TESTING .....................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages67 Page
-
File Size-