System Design · Senior · Question 62 of 75

After a WebSocket server outage, all clients reconnect at once and knock it over again. How do you prevent this?

Explanation

It's a thundering herd. Spreading reconnects over time lets the service recover.

Further reading

Problem with a question

System Design · Senior · question 62

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz