Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Websocket exponential backoff is not randomized #26

Open
drathier opened this issue Dec 9, 2017 · 1 comment
Open

Websocket exponential backoff is not randomized #26

drathier opened this issue Dec 9, 2017 · 1 comment

Comments

@drathier
Copy link

drathier commented Dec 9, 2017

Websocket reconnect attempts should be spaced out randomly, to spread out any spikes that might have caused the outage in the first place. Otherwise you'll just overload the server again every 2^c seconds.

Ethernet uses a random backoff between 0 and 2^c-1, and we should do something similar.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants