90 likes | 194 Vues
Join Stephen Davidson and Mahender Akula for insights into load testing tools for app servers, including Grinder, Siege, JMeter, and more. Discover optimal profilers, load generators, and usage tips.
E N D
Presented by Stephen Davidson Mahender Akula Sponsored by; Stephen Davidson & Associates, Inc. J2EE Sig – Load Testing App Servers
Agenda • Discussion of Tools available • What to use, & why • Load Generators • Profilers
Load Generators • Grinder • MultiPlatform • Clusterable • Version 2.x (3.0 in Beta) • Maintained be BEA, among others • Siege • 1.00 (from 2001) • Maintained • VERY STABLE
Profilers • Several Available on SourceForge • Experiment to see which you like best • Eclipse Plugin Available (see SF) • Extensible Java Profiler (Beta 4 – But quite stable) • Mike's Java Profiler (Alpha Version) • JPerfAnal (Version 2.0) • Several More • JMeter • See Jakarta
JPerfAnal • Distributed with book “ Java Programming on Linux”. (http://www.javalinux.net) • Well Documented (see Docs link on SF Homepage) • Uses output from Sun's hprof Profiler • java -Xrunhprof:help • Java -Xrunhprof:cpu=samples,depth=XXX,thread=y...
Extensible Java Profiler • Well Documented • Need to build on local machine • Make sure to have zlib compression Lib installed • Make sure to edit the MakeFile! • Multi-platform versions available • VERRY HIGH OVERHEAD!!!! • Much promise, but not yet ready for large projects
XLink • Maintained by Kimble Consultancy Services • J2EE (especially Jboss/Jetty servers)
OptimizeIt • Made by Borland ($$$ - 1599 for Basic/$2600 for Enterprise) • Currently the most powerful/easiest to use of the ones tested. • Multiple Platform versions available • Adds about 25 % (10% to 35%) to application overhead
Launching • JAVA_OPTS • Use to turn on JVM Profiling when launching JBoss & TomCat • May/May Not be used with other application servers • Some Tools (OptimizeIt) do realtime profiling, others (JPerfAnal) wait until run is done, then analyze results.