IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

Dynamic Cache Statistics Collector and Visualizer for IBM WebSphere Application Server

A tool that collects and visualizes statistics that provide insight into the state, health, performance, composition, and efficiency of the cache.


Date Posted: February 6, 2007
OverviewRequirements Download FAQs Forum Reviews

What is Dynamic Cache Statistics Collector and Visualizer for IBM WebSphere Application Server?

Dynamic Cache Statistics Collector and Visualizer is part of the IBM solution for improving performance of Java™ 2 Platform, Enterprise edition (J2EE) applications running within WebSphere® Application Server. The WebSphere Dynamic Cache (DynaCache) component supports caching of Java servlets, Java Server Pages (JSP), WebSphere command objects, Web services, JSR 168 Portlets, and plain old Java objects. The Dynamic Cache Statistics Collector and Visualizer provides for extensive monitoring of the Dynamic Cache.

Starting with WebSphere Application Server versions 5.0.2.18, 5.1.1.13, 6.0.2.17, and 6.1.0.0, the DynaCache component introduced a JMX Mbean for exposing a number of cache statistics ranging from CacheHits to ObjectsReadFromDisk400K. These statistics provide insight into the state of the cache, health of the cache, performance of the cache, composition of the cache, and efficiency of the cache. These statistics enable an application developer to understand cache usage and to tweak strategies for optimal operation. Effective use of Dynamic Cache Statistics Collector can result in ten times better performance.

The Dynamic Cache Collector and Visualizer enables a Dynamic Cache user to collect and visualize the cache statistics exposed by the DynaCache Mbean. The charts generated by the Visualizer can be customized to show only the relevant and necessary statistics. The line graphs of the cache statistics enable introspection and examination of long-term caching trends, which in turn help tune caching. The Dynamic Cache Visualizer is designed with the principle "A picture says more than 1000 words."

This technology runs on Windows® and Linux®.

How does it work?

The Dynamic Cache Visualizer uses the IBM SVG Chart Generator for generating line graphs for each cache statistic. The SVG Chart Generator is a two-dimensional charting package for SVG (Scalable Vector Graphics). The Dynamic Cache visualizer file reads in a flat file that contains the statistics generated by the DynaCacheStatistics.py python script. The script takes a snapshot of the cache statistics at regular intervals and compiles a flat file of the statistic name value pairs. The resulting file is parsed by the Dynamic Cache Visualizer and charted using options provided in a configuration file called setup.txt. The SVG file generated by the Dynamic Cache Visualizer can be looked at in Internet Explorer or Firefox after installing the SVG plug-in, which is freely available from Adobe. Using the Dynamic Cache Visualizer is therefore a two-step operation:
  1. Collect statistics using DynaCacheStatistics.py.
  2. Prime the configuration file for the Dynamic Cache Visualizer and run DynaCacheStatistics.bat, which runs the program that generates the chart in the form of a SVG file.


About the technology author(s):

Rohit KelapureRohit Kelapure is a software engineer who leads the DynaCache team in WebSphere Application Server.
Zi Yan TuZi Yan Tu is a software engineer from the China Software Development Labs who works as an SVT tester in WebSphere Commerce Suite.
Andrew IvoryAndrew Ivory is the admin/scripting development focal point for the Dynacache, DRS and WebSphere Proxy components in WebSphere Application Server.
Dana PriceDana Price leads the WebSphere Common Configuration Model (WCCM) component in WebSphere Application Server.

View screenshots:
All the cache statistics with timestamps and shapes for data points.

Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
Administration, J2SE (Java 2 Standard Edition), Java technology, optimization, Parsers, performance, utilities, visualization, Websphere


 

    About IBM Privacy Contact