API Design · Senior · Question 52 of 75

How should a real-time API recover from disconnects without losing events?

Explanation

If the buffer doesn't reach back far enough, tell the client to do a full resync.

Further reading

Problem with a question

API Design · Senior · question 52

Test yourself

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

Take this quiz