# Performance impact of installing APM (Java and .NET)

**URL:** <https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094>\
**Category:** APM\
**Tags:** dotnet, java, nodejs\
**Created:** [September 25, 2019, 7:24pm UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094 "2019-09-25T19:24:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikesparr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikesparr/32/4619_2.png) [@mikesparr](https://discuss.elastic.co/u/mikesparr)\
**Post date:** [September 25, 2019, 7:24pm UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/1 "2019-09-25T19:24:23Z")

</div>

Elastic Cloud on latest 7.3.x release and working with Ops to get APM agents installed in production. We have some questions we want to cover before flipping the switch regarding resource usage and performance impact of APM.

Similar to: [APM Time Complexity Questions](https://discuss.elastic.co/t/apm-time-complexity-questions/200744)

Support case: #00389518

Questions:

1. For the Java and .NET agents, what is the memory overhead of adding APM (i.e. a VM running Tomcat has 2 CPU, 3GB RAM) - how much will the agent consume if added?

2. If for some reason Elastic Cloud is down, will APM agents buffer metrics in memory until cloud back up to push to Elasticsearch?

3. If APM agents do buffer metrics before shipping to Elasticsearch, how much memory will they consume or is there a cutoff?

4. On average what is the network impact or throughput for APM metrics being shipped to Elastic Cloud? (payload side and number of requests per page or servlet/endpoint interaction)

Anything else you can think of that would appease Operations team inquiries and get comfortable about installing APM in production is appreciated.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [September 25, 2019, 7:41pm UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/2 "2019-09-25T19:41:52Z")

</div>

Hi and thanks for your questions.  
For the Java agent, most of them should be covered here:  
[https://www.elastic.co/guide/en/apm/agent/java/current/faq.html](https://www.elastic.co/guide/en/apm/agent/java/current/faq.html)  
[https://www.elastic.co/guide/en/apm/agent/java/current/tuning-and-overhead.html](https://www.elastic.co/guide/en/apm/agent/java/current/tuning-and-overhead.html)

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [September 26, 2019, 3:10am UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/3 "2019-09-26T03:10:20Z")

</div>

Hi,

You can find .NET agent performance tuning related information at [https://www.elastic.co/guide/en/apm/agent/dotnet/current/performance-tuning.html](https://www.elastic.co/guide/en/apm/agent/dotnet/current/performance-tuning.html)

---

<div class="post-metadata">

**Author:** ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)\
**Post date:** [September 26, 2019, 7:54pm UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/4 "2019-09-26T19:54:55Z")

</div>

Are there any benchmarking for the nodejs agent besides [https://www.elastic.co/guide/en/apm/agent/nodejs/current/performance-tuning.html](https://www.elastic.co/guide/en/apm/agent/nodejs/current/performance-tuning.html)?

---

<div class="post-metadata">

**Author:** ![mikesparr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikesparr/32/4619_2.png) [@mikesparr](https://discuss.elastic.co/u/mikesparr)\
**Post date:** [October 3, 2019, 2:24pm UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/5 "2019-10-03T14:24:46Z")

</div>

Thanks all for your feedback. I think we have all we need so feel free to close!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 24, 2019, 10:34am UTC](https://discuss.elastic.co/t/performance-impact-of-installing-apm-java-and-net/201094/6 "2019-10-24T10:34:22Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
