j2ee performance monitor (profiler)
DESCRIPTION
TRANSCRIPT
J2EE Performance Monitor / Profiler
Allan Huang @ eSobi Inc.
Preface
在現今企業等級的應用程式系統中, Java 應用程式系統已是越來越被大型系統專案採行的平台及架構。
時常有人有疑問或是抱怨:為何我的 Java 應用系統效能這麼糟?或是我的 Java 系統隨著運行時間越來越長、而運行的效能也跟著逐漸降低?種種問題到底要怎麼辦的困擾。
Preface
一個系統的成敗,取決於系統於正式上線後的表現。也就是說:許許多多的系統開發人員儘管學有專精並有豐富的系統開發經驗,但在進行實際開發時還是時常會有未盡周詳的地方。
Preface
許多程式設計師都有經驗,最簡單有效的效能評估,是在執行一物件在監控的方法( method )前後加上 1 個 Time–Stamp ,並將所取得的前後時間相減,即為執行此方法所需的時間。如此簡單的行為其實包含著許多的經驗,以判斷哪些可能的問題點及人工作業加入及取消 Time–Stamp 。
Preface
其實這是不符合現今企業的成本概念的,要解決這個問題,可以引用 J2SE 5.0 新增的 Bytecode Instrumentation 功能,藉著修改 Bytecode 的方式,達成動態加入所欲執行的監測程式碼(例如 Time–Stamp 等)。
Preface
所謂工欲善其事必先利其器,此時若有一工具提供給有經驗的系統開發人員協助檢視系統設計及架構上的問題,則可有效避免系統設計及開發上的缺陷。
Preface
相對於近年來逐漸受重視的 SOA 架構,已可用於解決整合面的問題,那麼管理面有何合適的解決方案呢?我們要如何用 1 個單一標準來管理所有的 Java 應用系統呢?
Bytecode Instrumentation InfraRED : Open Source Project Introscope : Commercial Product - CA Wily
How InfraRED Works
InfraRED Features Application Performance Statistics JDBC Statistics Automated Support for Multiple Application Servers Call Information User Friendly WEB GUI Centralized Collection of Statistics and support for Clustered
Applications Layer Wise Summary Non-Intrusive and Minimal Overhead Export Utilities
InfraRED Demo
InfraRED Demo
How Introscope Works
Introscope Features
Application Monitoring Application Server Monitoring Platform Monitoring (CPU and Memory) Back-end System Support Non-Java Systems Monitoring Security Systems Management Process Integration Supported Application Environments JVM Support Operating Systems
Introscope Demo
Reference
Open Source: InfraRED CA Wily: Introscope Bytecode Instrumentation JVMPI (Java Virtual Machine Profiler Interfac
e)