Java

The first question everyone asks us is - "This is very cool. Tell me how does this impact my system's performance?"

TLDR: We have very minimal impact on your system's latency - a few milliseconds under heavy load. Moreover, if there are no tracepoints / logpoints - we add zero overheads.

We did a benchmarking of our agent's performance under the following conditions:

  1. Code used spring-petclinic - developed by the Spring community itself for a fair comparison.

  2. The application was deployed on aws t2.2xlarge instance which has 8vCPUs and 32GB RAM.

  3. We used the popular wrk2 tool to measure network latency.

  4. For load-balancing, we scaled the application to 4 instances. We loaded the application with 1000 requests per second until 5 seconds.

  5. Endpoint called: /vets.html

  6. 3 separate experiments were done:

    1. Agentless - running the application without heimdall agent.

    2. Passive - heimdall agent runs without any tracepoint.

    3. Active - heimdall agent runs with tracepoint on the endpoint.

Results

Interpretation

  1. When you're using us, most of the time your application would be running in passive mode, i.e., our agent is running without any tracepoint. In such case, our application adds negligible overhead.

You can import our agent in your application without worrying about overheads.

  1. When you're debugging something and have added tracepoints, we add a few milliseconds of latency. You get options to set hitlimit and lifetime for the tracepoint so that the tracepoint lives for a very short time until you get your desired data.

Last updated