# RUM on web application could impact on web peformance. Best practices.

**URL:** <https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [November 13, 2020, 11:26pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821 "2020-11-13T23:26:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose\_damian\_rui](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jose\_damian\_rui](https://community.dynatrace.com/u/jose_damian_rui)\
**Post date:** [November 13, 2020, 11:26pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/1 "2020-11-13T23:26:23Z")

</div>

Hello all. I hope you and your environment are healthy.

We think web application is being impacted once time RUM has been applied.

Please are there any suggestions/best practices to avoid impact on web applications once time has been applied RUM.

Many Thanks.

---

<div class="post-metadata">

**Author:** ![khoros\_anonymous](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@khoros\_anonymous](https://community.dynatrace.com/u/khoros_anonymous)\
**Post date:** [November 14, 2020, 1:04am UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/2 "2020-11-14T01:04:58Z")

</div>

The few times that happened to me I started to disable features from “Async web requests and SPAs”.

If the problem persists I would check if another product happens to be being used that has similar functionality as RUM (Something as HotJar) and test blocking such requests.

If all of that is done and the problem persists better open a case with support.

---

<div class="post-metadata">

**Author:** ![jose\_damian\_rui](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jose\_damian\_rui](https://community.dynatrace.com/u/jose_damian_rui)\
**Post date:** [November 14, 2020, 8:04am UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/3 "2020-11-14T08:04:18Z")

</div>

Many Thanks Dante. Sorry but where can disable “Async web requests and SPAs” on Dynatrace console ?

On the other hand I realize there are some options for injections… I realize appreciate it you could explain which is the lighter option in terms of impact on web applications and why ?

Kind regards.

 ![27351-1605340908993.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/7/c74916dbbe0501c69c6f5755d769303e20032862.png)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 14, 2020, 12:02pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/4 "2020-11-14T12:02:07Z")

</div>

You were quite near. In the first image, you can see it for your version 1.202. In the second image, you can see it for version 1.205.

 ![27322-1605355280563.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bdbc4b76bddb562fb20422f1f81dedfd4c524453.png)

 ![27314-1605355323665.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0b2eba11ad256b242325ae4e9a6414802f8cae11.png)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 14, 2020, 12:08pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/5 "2020-11-14T12:08:23Z")

</div>

One more issue that might have some implications in UX in your application. You can try to force OneAgent to put the Javascript code in a different place on the pages. You can do some experimentation, but be careful 😉

 ![27323-1605355654980.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/b/db7a6a3e8a04b2364949d09307cb3b242f4f9eae.png)

---

<div class="post-metadata">

**Author:** ![jose\_damian\_rui](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jose\_damian\_rui](https://community.dynatrace.com/u/jose_damian_rui)\
**Post date:** [November 14, 2020, 1:50pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/6 "2020-11-14T13:50:47Z")

</div>

Many Thanks Antonio.

Which are the best places to be located, and so will have the minor impact on applications ? Maybe …any rules of dumb ?

Kind regards.

---

<div class="post-metadata">

**Author:** ![khoros\_anonymous](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@khoros\_anonymous](https://community.dynatrace.com/u/khoros_anonymous)\
**Post date:** [November 14, 2020, 4:54pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/7 "2020-11-14T16:54:26Z")

</div>

The injection mode handles how the JS is actually added to the page, you can check this doc:

> **[Configure automatic injection in RUM Classic](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/initial-setup/rum-injection)**
>
> Configure automatic injection of the RUM JavaScript into the pages of your applications

The automatic mode only removes the need to add it manually, but AFIK the concept for each of one of the modes is the same.

In the last Column, you have the use case scenario.

Cheers.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 15, 2020, 5:53pm UTC](https://community.dynatrace.com/t/rum-on-web-application-could-impact-on-web-peformance-best-practices/20821/8 "2020-11-15T17:53:00Z")

</div>

Quite frankly, it depends on your goals. If you care about your customers, you should take a look at “Visually Complete”. If you are talking KPIs or synthetic measurements, and you want to get a better value, you’ll be looking at some “cheating” strategies. And there are certainly more goals, but I normally reduce them to these two.

Now, most of the strategies out there are quite old. Normally, when you see the “put at the bottom” strategy, those are the oldest. Most of other strategies are not built for newer browsers, HTTP/2 & 3, and interactions between different Javascripts.

So, the quick reply is, it depends! Not only on the two strategies above, but also on your application. In general terms the Dynatrace script is non-blocking, and since it downloads from the same site, there are no other TCP connections, TLS handshakes, etc. The good thing is that having Dynatrace you can also do some testing. Place it at several places and take a look at how times go…
