Over a million developers have joined DZone.

Introducing AppDynamics - Application Management for the Cloud Generation

DZone's Guide to

Introducing AppDynamics - Application Management for the Cloud Generation

· Java Zone
Free Resource

Learn how to troubleshoot and diagnose some of the most common performance issues in Java today. Brought to you in partnership with AppDynamics.

This post is just a discovery point of a great tool named AppDynamics, therefore major content is taken from the official site. AppDynamics does not reinvent the wheel, but it brings some cool stuff into application performance management solutions. First, I was impressed of how easy it is to install, configure and start working with it. Try it yourself!

What's unique about AppDynamics ?

AppDynamics has developed a next-generation Application Performance Management solution that's distinct in four ways:
• We are the first product built from the ground up for highly distributed service-oriented environments.
• We enable fast root cause diagnostics at the method/class level, but create no more than 2% overhead-even in high-volume production deployments.
• We are able to not only manage applications, but dynamically scale them in cloud and virtual environments.
• We cost a fraction of legacy old-school Application Performance Management solutions

Watch these short 2 minute videos to learn more about some of AppDynamics' capabilities:

1. Application Mapping - Auto-discover and map entire distributed applications

2. Transaction Flow Monitoring - Follow transaction requests from tier to tier, and enable instand troubleshooting of performance problems

3. Deep Diagnostics - Drill-down at the code level - find code hot spots, slow SQL calls, deadlocks, etc.

4. Policy Engine - Intelligent real-time analysis and proactive alerting

5. Cloud orchestration - Automate remediation and leverage the cloud for dynamic capacity

The unzipped AppDynamics archive contains two main tools, the Lite Viewer and Application Server Agent.

• The Lite Viewer is started by double-click on adlite-viewer.jar, and after it starts it is accessible by default on http://localhost:8990 (authenticate with admin/admin).
• The Application Server Agent can be installed on different application servers (Weblogic, Tomcat, JBoss, Websphere, Glassfish, Jetty, OSGi Containers, Tanuki service wrapper). You can find details about how to configure the agent on each of these servers on http://litedocs.appdynamics.com/, under Install the Application Server Agent section.

I have installed the Agent on Tomcat 6 in a few minutes. After I extracted the AppServerAgentLite.zip, I just edit the Tomcat Catalina.bat, by adding these lines:

rem ----- Configure AppDynamics Lite Application Server Agent
if "%1"=="stop" goto skip_agent
set JAVA_OPTS=%JAVA_OPTS% -javaagent:

That’s all! When I start Tomcat the Agent was successfully configured!

Next, I have been started the Viewer, and fire requests from some of my web applications under Tomcat. Here are some screenshots of the viewer:

• AppDynamics Dashboard
• AppDynamics Business Transactions (1)
• AppDynamics Business Transactions (2)

If you decide to download and play with AppDyanamics, it is a good idea to check http://litedocs.appdynamics.com/, Use Lite for the first time section – there you will more detailed screenshots.

Notice that in this post I have introduce AppDynamics Free, but it is also available as Pro version (30 days trial version). The Pro version brings new:

• Service level management for response times and infrastructure.
• Proactive monitoring with real-time alerting based on performance policies.
• Single-pane distributed visibility into transactions with the ability to go deep
into all tiers for user requests.
• Historical data retention (spanning years).
• Self-learning performance baselines for all performance-related data.
• Automatic triggering of deep-dive diagnostics based on recent performance.
• Centralized configuration management for agents spread across the application
• Automatic remediation of common performance problems, dynamic scaling and cloud
• Manage the performance of mission-critical production Java applications in cloud
or physical-cloud hybrid environments.
• Automatic remediation for common performance problems like JVM/machine restarts.
• Capacity allocation using cloud/virtualization technologies based on application
semantics like Business Transaction load/service levels.
• Cloud bursting combining physical and cloud/virtualization infrastructures.

Official site: http://litedocs.appdynamics.com/


From http://e-blog-java.blogspot.com/2011/03/introducing-appdynamics-application.html

Understand the needs and benefits around implementing the right monitoring solution for a growing containerized market. Brought to you in partnership with AppDynamics.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}