Re:Ask HN: How do you handle WebSocket connections reconnect...
by jtokoph on Saturday June 03, 2023 @11:54AM
(#36177663)
You may want to consider adding a random jitter and backoff to the reconnect logic. Otherwise, if the server goes down and comes back up, all clients will reconnect at the same time and overload the server.
Re:Ask HN: How do you handle WebSocket connections reconnect...
by dangitnotagain on Saturday June 03, 2023 @12:33PM
(#36178055)
This is great! The whole project is useful. Thanks!
https://github.com/prettydiff/share-file-systems/blob/master...