• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by David L. · Aug 10, 2015 at 01:37 PM · server

Dynatrace Server - Handling Load Tests Load

Hello guys,

We do some pretty heavy load testing here before big events such as Black Friday that is coming up in a few months, and we are running into issues where the Dynatrace Server is unable to handle all the requests during the tests During the tests we have more than 3 million purepaths per 5 minutes.

The issue is that the server uses all memory and starts executing a lot of Garbage Collection, pretty much losing all purepaths that arrive.

So my question is, how can I increase the server memory past the X-Large definition? We are guaranteed not to be able to handle Black Friday traffic, Those purepaths come from very few agents, and we cannot afford to filter out even more data!

We will upgrade the CPU to 24 cores and we can get pretty much as much memory as we want.

Thanks!

pps-load.png (16.6 KiB)
server-load.png (131.1 KiB)
serversettings.png (14.8 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Aug 10, 2015 at 02:55 PM

Hi. I would first look into reducing your PurePath length. Its a bit hard to say what your average size is as the chart shows the 10000 max size. But - please make sure you have done everything to reduce PP size. Also - make sure to exclude PurePaths that you dont really need, e.g: static URL requests, keep-alives, ... -> you can exclude certain URLs from the Web SErver and Servlet/ASP.NET Sensors. Also - make sure you have Database and Exception Aggregation enabled. That will also bring your PP size down.

If this doesnt help I would also check defined Measures and BTs. If you have a lot of Measures that use complex RegEx's it could impact your Real Time Analyzer. So - double check these as well.

If that all doesnt help I suggest you reach out to our support team. They can help you to go beyond XLarge

Andi

Comment
David L.

People who like this

1 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image David L. · Aug 10, 2015 at 03:27 PM 0
Share

Thanks for the answers! We will try to optimize the environment as much as possible, 90% of the purepaths are from our "Price" API, that is pretty much 2 or 3 Mongo queries each, so the PP size for those guys is very low.

But still, the average PP length is very high, we will try to reduce it!

Another thing we might do is disable the BTs during Load Testing since we do not need them.

Aggregation is Enabled for ADO.NET and Exceptions, no static content being captured

price.png (39.4 KiB)
avatar image

Answer by Kristof R. · Aug 10, 2015 at 03:06 PM

Hi David,

3 million PP/5 min equates to 10k PP/s. This is way above the max advertised throughput of ~5k PP/s.

A lot will depend on the PP size as the advertised 5k PP/s assumes an average PP size of 100. The max transaction count actually refers to the maximum amount of instrumented nodes per second the server can handle. This value is roughly ~500k for 6.2. So you multiply the max PPS of 5k with average size of 100 and you get to that number. https://community.dynatrace.com/community/display/...

If you can get the average size down to let's say 50 (ideally even lower), the server might be able to handle the load (10k PP/s * 50 = 500k MPS). Increasing the number of cores, however, will be crucial as that defines how many Real-Time Analyzer threads there will be (# threads = # non-hyperthreaded cores/2) and thus will increase the throughput of the server.

Also make sure that the server is actually able to write the PP to the disk fast enough. If you are using a visualization layer this might severely inhibit the writing performance. Best is to do an IOPS test and compare it against the sizing guide.

Hope this helps.

KR, Kristof

Comment
David L.

People who like this

1 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Kristof R. · Aug 10, 2015 at 03:22 PM 0
Share

Seems @Andreas Grabnerand I were in a race and I lost :-)

avatar image David L. Kristof R. · Aug 10, 2015 at 03:28 PM 0
Share

Still valuable information, thanks @Kristof Renders

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

can we use a single collector to point to multiple dynatrace servers catering to different applications?

Collector Unable to Connect to Server

Enable CORS on XML Reports?

How to generate CSR (Certificate Signing Request) in Dynatrace AppMon Server

AppMon 7.0 and 6.5 Collector

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A