Skip to content

efm2 plugin performance degradation in version 2.6.3 #1522

@rostasz-dynatrace

Description

@rostasz-dynatrace

Describe the bug

We've noticed significant performance degradation visible in HostMonitorServiceImpl.getMonitor method invocation, comparing to version 2.6.2. I'm attaching screens from profiler during our performance tests. The only difference in code is the aws jdbc wrapper version.

2.6.3
Image

2.6.2
Image

Blue bars and percentage indicates cpu usage during the tests.

Expected Behavior

No change in performance.

What plugins are used? What other connection properties were set?

wrapperPlugins: auroraConnectionTracker,readWriteSplitting,failover,efm2,iam
readerHostSelectorStrategy: roundRobin
maxConnectionAge: 60s
readOnlyByDefault: true

Current Behavior

Code works fine, but performs worse.

Reproduction Steps

Run code on version 2.6.3 and 2.6.2, observe timing of HostMonitorServiceImpl.getMonitor method.

Possible Solution

No response

Additional Information/Context

No response

The AWS Advanced JDBC Driver version used

2.6.3

JDK version used

openjdk 21.0.8 2025-07-15 LTS
OpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing)

Operating System and version

Debian 12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending releaseResolution implemented, pending official release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions