Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "ConcurrencyAcquireDuration" metric for netty-nio-client #2903

Merged
merged 5 commits into from
Dec 10, 2021

Conversation

Bennett-Lynch
Copy link
Contributor

The time taken to acquire a new channel from a channel pool can be both
non-trivial and highly variable, depending upon whether a new connection
needs to be established, and depending upon the overhead of new
connection establishment (including TLS handshakes). Due to the high
variability, having an explicit metric can be helpful to give a better
picture of latency sources in impacted requests.

License

  • I confirm that this pull request can be released under the Apache 2 license

Bennett Lynch added 2 commits December 8, 2021 21:02
The time taken to acquire a new channel from a channel pool can be both
non-trivial and highly variable, depending upon whether a new connection
needs to be established, and depending upon the overhead of new
connection establishment (including TLS handshakes). Due to the high
variability, having an explicit metric can be helpful to give a better
picture of latency sources in impacted requests.
@Bennett-Lynch Bennett-Lynch requested a review from a team as a code owner December 9, 2021 05:04
Copy link
Contributor

@cenedhryn cenedhryn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but can you make sure all builds are successful?

@Bennett-Lynch Bennett-Lynch changed the title Add "ChannelAcquireDuration" metric for netty-nio-client Add "ConcurrencyAcquireDuration" metric for netty-nio-client Dec 10, 2021
@Bennett-Lynch Bennett-Lynch enabled auto-merge (squash) December 10, 2021 19:52
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

94.7% 94.7% Coverage
0.0% 0.0% Duplication

@Bennett-Lynch Bennett-Lynch merged commit 51d067e into aws:master Dec 10, 2021
Bennett-Lynch pushed a commit to Bennett-Lynch/aws-sdk-java-v2 that referenced this pull request Dec 11, 2021
The time taken to acquire a new channel from a channel pool can be both
non-trivial and highly variable, depending upon whether a new connection
needs to be established, and depending upon the overhead of new
connection establishment (including TLS handshakes).

The same metric was recently added for netty-nio-client:
aws#2903
Bennett-Lynch added a commit that referenced this pull request Dec 14, 2021
* Add "ConcurrencyAcquireDuration" metric for apache-client

The time taken to acquire a new channel from a channel pool can be both
non-trivial and highly variable, depending upon whether a new connection
needs to be established, and depending upon the overhead of new
connection establishment (including TLS handshakes).

The same metric was recently added for netty-nio-client:
#2903
aws-sdk-java-automation added a commit that referenced this pull request Feb 19, 2024
…7642dcdbc

Pull request: release <- staging/cfb5cdd1-2611-4344-b88e-c977642dcdbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants