首页 | 本学科首页   官方微博 | 高级检索  
     

性能监控框架Jwebap的研究与改进
引用本文:程旭,巨克真,郭伟.性能监控框架Jwebap的研究与改进[J].计算技术与自动化,2014(4):102-105.
作者姓名:程旭  巨克真  郭伟
作者单位:南京南瑞集团公司,江苏南京210003
摘    要:基于Java开发的企业级应用系统中存在的性能问题一直是关注的热点。当网络环境、机器物理配置等外在条件足够优等从而不会影响系统性能时,系统内在的服务端方法执行时间长短就成为解决系统性能问题的关键。只有通过分析方法执行耗时,才能定位出耗时长的具体服务方法以便分析解决。在目前的性能监控工具中,开源Jwebap监控框架基于字节码注入技术高效的实现了对方法耗时和数据库执行耗时的监控。本文主要分析Jwebap工具的架构及实现原理,阐述了架构中所使用的ASM字节码注入机制和Trace追踪机制,并完善该框架,扩展实现了方法树以及SQL与方法的关联。最后通过测试比较该框架对系统性能的影响,根据测试结果对框架使用提出建议。

关 键 词:性能  监控  Jwebap

Research and Upgrade Monitoring Performance Framework Jwebap
CHENG Xu,JU KeZhen,GUO Wei.Research and Upgrade Monitoring Performance Framework Jwebap[J].Computing Technology and Automation,2014(4):102-105.
Authors:CHENG Xu  JU KeZhen  GUO Wei
Affiliation:(Company of Information Communication Technology, NARI, Nanjing,Jiangsu 210003, China)
Abstract:Performance issues exist in enterprise application systems developed by Java. When network environment and state of hardware is good enough to support its ordinary operation, the execution time duration of method in the server can be the key to solve the performance problem. A long-term method can be found by monitoring method execution time. A- mong current performance monitoring tools, J webap framework, based on java bytecode injection, implements the function of method and SQL execution time monitoring effectively. This paper analyzes the structure and design principle of the framework, describes the ASM bytecode iniection mechanism and traces tracking mechanisms used in Jwebap, and discusses the development of the method tree function, as well as access the SQL information through the method trace. In addition, use suggestions of Jwebap are made according to the comparison tests, which show the effects on system performance.
Keywords:performance  monitoring  jwebap
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《计算技术与自动化》浏览原始摘要信息
点击此处可从《计算技术与自动化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号