Hacker News new | ask | show | jobs
by rakoo 1642 days ago
Exponential back off. Basically try to reconnect after a random short time, if that doesn't work try with a time twice longer, then twice again, etc..
1 comments

Usually you want the 2x wait to be a random time between 1.5x and 2x longer or something.