Wednesday, May 20, 2015

Performance Monitor (ATG Oracle Commerce)

Sometimes after development is done, performance test will happen to prove your application does load fast enough for your end client, and does support high loads.
ATG does provide a tool to Monitor your application, it is called Performance monitor, you can get this inside /dyn/admin on main menu, or going to
http://server:port/dyn/admin/atg/dynamo/admin/en/performance-monitor.jhtml
By default is disabled


Just Enable it by clicking on Performance Monitor Configuration;

I usually use the TIME monitor, which is the more easy to understand and is the one we will focus on this post.

There are 3 notes at the end, do not ignore them.

Once Performance monitor is enable it is matter of browse into your site, to start Monitoring activity

Getting performance monitor page again http://:/dyn/admin/atg/dynamo/admin/en/performance-monitor.jhtml 
the results will be different:

It will display a list of operations along with stats for all of them, the ones that are more important are the Number of executions and Total Execution time, this will give you an idea on what are the heavy operations. for example Service Request will be one of the operations that take most time. if you click on it you will see a view like the this:

All requests that are executed and the time that took for all of them, this will give you an idea on what .jsps you can look into based on Number of executions and Total Execution time.

There is an other item on the operations list that is the time that dsp: includes are taking:


and at last but not least you can see what non cached queries or get Item are happening behind the sense this will help you to improve your item-cache-size on your repository definition:


There are a lot of operations that you can monitor, the ones on this post are just examples of how Performance Monitor helps you to identify things that you can fix inside your application.

Post a Comment