How do you handle exponential backoff via reconnect on socket.io? #4322
Answered
by
aaronkchsu
aaronkchsu
asked this question in
Q&A
-
I have been told that for the websocket client, in the socket connection retry mechanism it would be important to implement exponential backoff in the client, so as to avoid the backend from becoming overwhelmed when there are sharp new socket connections being attempted. What settings are best to pass in with socket.io to handle this? |
Beta Was this translation helpful? Give feedback.
Answered by
aaronkchsu
Mar 22, 2022
Replies: 1 comment 1 reply
-
Edit im really slow about this sorry, this answers most of my questions |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
darrachequesne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit im really slow about this sorry,
this answers most of my questions
https://socket.io/docs/v4/client-api/#event-reconnect