Skip to content

Implement exponential backoff during reconnect#175

Open
sokada1221 wants to merge 4 commits intomasterfrom
exponential-backoff
Open

Implement exponential backoff during reconnect#175
sokada1221 wants to merge 4 commits intomasterfrom
exponential-backoff

Conversation

@sokada1221
Copy link
Copy Markdown

Users are reporting noisy warning messages during reconnect as it currently retries every 3 seconds.

{"level":"warn","ts":1749885509.323616,"logger":"gostats.loggingsink","msg":"connection error: dial tcp 10.45.31.218:8225: connect: connection refused","json":{}}

Implementing an exponential backoff with decorrelated jitter to:

  1. Improve the retry behavior in general; and
  2. Address the noisy reconnect logs

Ref: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/

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.

1 participant