cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Erin
AppDynamics Team (Retired)

Question:

I understand that Agents add 2% overhead to an application server (CPU, response time, throughput, network IO, etc.), and will consume about 10mb-100mb of the internal memory of the application server. How do you measure the memory consumption and make sure the Agent consumes 10mb-100mb?

 

Answer:

Java Agents have various safety checks built-in internally, such as max number of business transaction (50)max number of snapshots per min (20), metrics reported (5000) and many others, which keep the Agents' overhead under the limit. 

 

Additionally, there are other factors which can contribute to overhead, including:

  1. Nature of the business application that you are monitoring (technology stack).
  2. The number of business transactions being monitored.
  3. The number of snapshots taken by an Agent per minute.
  4. The number of requests/load handled by the application server.
  5. Async nature of the application.
  6. And much more.

So the overhead factor can fluctuate depending on these factors.

 

To understand the heap usage of an Agent, find the memory consumption with and without the Agent, and the difference will give an accurate estimate of heap consumption of agent. The right tool will depend on the JDK version and operating system in use.

 

Example: Summarizing Java heap utilization with jmap

 

 

Comments
Satish.Shettar
Producer

We are planning to deploy the agent as a sidecar to monitor multiple micro services.

Whether we should consider the same algorithm to do the calculation and propose the sizing.?

 

How many micro services could be configured for an agent deployed as a sidecar.?

 

Do we have an option to configure or restrict the resource consumption for the agent configured as a sidecar.?

Version history
Last update:
‎09-10-2018 11:54 AM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Contributors