• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Profiling during stress testing of application

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am testing my application using webload for stress testing. During the same i came across issue's which were not there during few runs like API taking too much time or queries taking too much. So now am planning to check these things using profiling tool like jprofiler. But jprofiler crashed when started recording CPU data with JDBC and method statistics. This happened multiple times. Am using weblogic app server. After so many tries i thought profiling tool cannot be attached during stress testing.

Any suggestion would help in great deal.


Thanks,
Sandeep
 
Ranch Hand
Posts: 218
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try using App Dynamics, they claim that the overhead is very low (2-3 %) http://www.appdynamics.com/products-free-download.php.
In case you are using the Jrockit JVM, you can also use a tool called Jrockit Mission Control, which also (as claimed by Oracle) has a low overhead.
Another option is that you could connect to JVM using Visual VM to see how threads are executing under stress, is there contention, which can be figured out by seeing if thread are waiting, (will show in red color) or is executing fine (all green). In case you are seeing lot of reds taking a thread dump might be useful.
 
get schwifty. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic