Font Size: a A A

Design And Implementation Of Web Servers’ Performance Tracking Framework

Posted on:2013-03-15Degree:MasterType:Thesis
Country:ChinaCandidate:Q ChenFull Text:PDF
GTID:2248330371966728Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Servlet containers, performance tracking, performance optimization, AOP, Java EE/J2EE
PDF Full Text Request
Related items