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