Design and Implementation of Web Servers’ Performance Tracking Framework
- Author
- ChenZuo
- Advisor
- LiaoJianXin
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 25
- Citations
- 1
Abstract
As WEB server’s structure become more and more complex, the fault is also more and more difficult to locate. And it is also difficult to effectively optimize the bottleneck of the whole server’s performance. So it is necessary to track the performance of each step in WEB reqests’ execution,for locating performance bottleneck and fault quickly.The traditional performance tracking method, is recording the data such as performance, in standard output or logs, by adding new code to the segment code where needs performance tracking.However,it will disperse performance tracking code into business code,which makes the hole code chaos. When business code needs to be changed, added or deleted, the corresponding performance tracking code also needs to make changes,which is not conducive to maintenance and expansion.This paper proposes the designation and implementation of WEB servers’performance tracking framework, mainly aiming at Servlet containers,which is very popular in WEB servers. It has two sides.One is the performance analysis in each cycle fo a signle WEB request,while another one is statistics and analysis of WEB requests in a period of time.So it can provide correct datas for the optimization of WEB server’s performance bottleneck. At the same time, in order to reduce the coupling of the code and improve the maintainability and expansibility,this paper peel the performance tracking code off the business functions’code,by the Aspect-Oriented Programming (AOP). It’s non-intrusive to WEB Servers,which means it’s completely transparent for business developers.This paper takes the modification of bytecode to realize the AOP function,for reducing the extra performance spending. Finally, this paper gives some test cases, to validate the usability of this framework.Besides the performance tracking on Servlet containers, the framework also has significance of reference for other applications’ performance tracking, which are based on Java EE/J2EE.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-14
1.1 Background topics 9-11
1.2 WEB server performance analysis of existing means research content and structure of the 11-13
1.3 article 13-14
chapter related technologies and tools 14-24
2.1 AOP introduced 14-22
2.1.1 OOP and AOP 14-17
2.1.2 AOP basic nouns 17-18
2.1.3 AOP implementations 18-22
2.1.4 AOP development process 22
2.2 Google Speed ??Tracer 22-23
2.3 Summary 23-24
Chapter III requirements analysis and design 24-33
3.1 design goals 24-25
3.2 need to address crosscutting concerns 25-29
3.2.1 Servlet 25-27
3.2.2 JDBC 27-29
3.3 system Architecture 29-30
3.3.1 system network topology 30
3.4 class loading process design 30-32 <br / > 3.4.1 entry point (PointCut) design 31-32
3.5 Summary 32-33
Chapter IV implementation 33-51 <br / > achieve 4.1 data acquisition module 33-45
4.1.1 class structure achieve 33-38
4.1.2 crosscutting concerns 38-44 4.1.3 identification of individual WEB request
achieve 44-45
4.2 data storage module 45-49
4.2.1 database storage 45 -46
4.2.2 server temporary storage 46-49
4.3 data Analysis module 49-50
analysis 4.3.1 single WEB request 49
WEB request within a period 4.3.2 statistical analysis 49-50
4.4 Summary 50-51
Chapter V testing and verification starting 51-57
5.1 performance framework 51
5.2 verify the feasibility 51-52
5.3 Servlet statistics 52-53 <br analysis 53-54
5.5 single WEB request ; /> 5.4 SQL Statistics nbsp 54-56
5.6 Summary 56-57
Chapter VI Conclusion 57-59
References 59-60
Thanks 60-61
master's degree papers published during 61
Related dissertations
- Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
- Research on Performance Management of the Credit Cooperation in Shandongacounty
- Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- The Supermarket Information Management System Design and Implementation
- Uncertain Construction and Optimization of Reverse Logistics System
- Research on Parallel Computing Technology in Loudi Region Analysis of Soil and Water Loss in the Processing of Application
- Research on Performance Testing and Optimization Based on Massive Data Storage
- Research on Key Techniques on Design of Data-driven Asynchronous Microprocessors
- Optimization Design and Implementation of the ICS Terminal
- A Theoretical Analysis of the Lifetime and Energy Hole in Cluster Based Wireless Sensor Networks
- The Research of of ZigBee Network Structure of the Network Construction and the Method of Performance Optimization
- Heat Transfer Characteristics and Mechanism Research of the Rmoelectric Generator
- Research on the Recovery of the Waste Heat of Condensation Water in Power Plant
- The Design of System Framework Based on Business and Data Driving
- Component Based Highway E-information Management System
- Research on Preparation and Performance of New Type High Performance Lightweight Aggregate Concrete Based on Inorganic Polymer Cement
- Design and Experimental Study of Four-effect Distillation Solar Desalination System
- Optimization of purchasing logistics management system case study of Jiangsu Mobile
- Research on Incurrence-Effect of Firm Performance Optimization Based on Panel Model