cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

jose_damian_rui
Organizer

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.


7 REPLIES 7

Anonymous
Not applicable

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.

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.


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.


Anonymous
Not applicable

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

https://www.dynatrace.com/support/help/shortlink/rum-injection#manual-insertion

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.

AntonioSousa
Champion

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 😉


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.

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...