Hacker News new | ask | show | jobs
by jtokoph 1113 days ago
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.