Skip to content

Latency increases experienced with releases 0.76.0 and greater #2657

@tbruketa

Description

@tbruketa

On jetty/jersey service, observed a 3 fold latency increase in response time when compared to 0.65.0. Isolated the problem by reverting from 0.78.2 to 0.65.0. Investigation done so far:

  • April 6 2021 Updated the version of the library from 0.65.0 to 0.76.0 - latency jumped from 330us to 1.21ms (p50)
  • April 15, 2021 Latency jumped to 1.85ms due to datadog-agent side-car upgrade to 7.27.1
  • April 20, 2021 Updated dd-trace-java to 0.78.2- latency dropped to 1.29ms
  • April 22, 2021 Reverted dd-trace-java to 0.65.0- latency dropped to 500-700us; it may still improve due jit optimization.

There number are from our QA/staging environment that is lightly loaded. In production, with more load, these numbers are amplified (11ms (dd-trace-java-0.65.0) -> 30ms (dd-trace-java-0.76.0) -> 108ms (dd-trace-java-0.76.0, dd-agent-2.27.1). Therefore, the concern is that this may be catastrophic for services experiencing high workloads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions