Skip to content

Conversation

lzakharov
Copy link
Contributor

@lzakharov lzakharov commented Nov 17, 2023

Hi! This PR adds connection waiting statistics. These statistics are useful for tuning pool parameters. Inspired by redigo stats.

I removed doctests with Go 1.18 due to atomic.Int64 usage.

@lzakharov lzakharov force-pushed the add-conn-pool-wait-stats branch 2 times, most recently from 97ce6b9 to 588a71f Compare November 20, 2023 09:24
@lzakharov
Copy link
Contributor Author

Tests fixed in #2808.

@lzakharov
Copy link
Contributor Author

@ofekshenawa sorry for disturbing, can you review please? This PR can help a lot. Thanks in advance!

@ofekshenawa
Copy link
Collaborator

Hey @lzakharov, sorry for the delay:)
Can you please resolve the conflicts if it still relevant?

@lzakharov lzakharov force-pushed the add-conn-pool-wait-stats branch from f9b11c5 to ee7a48e Compare April 24, 2025 16:07
@lzakharov
Copy link
Contributor Author

@ofekshenawa hi!) Conflicts are resolved.

Copy link
Collaborator

@ofekshenawa ofekshenawa left a comment

Choose a reason for hiding this comment

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

@lzakharov Thank you!

@ofekshenawa ofekshenawa merged commit 8ba559c into redis:master May 7, 2025
16 checks passed
@philipfoulkes
Copy link

I see that WaitCount and WaitDurationNs are not populated in ClusterClient and Ring.

Are they expected to be populated there?

ofekshenawa added a commit to ofekshenawa/go-redis that referenced this pull request Jun 30, 2025
ofekshenawa added a commit that referenced this pull request Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants