System Design · Middle · Question 39 of 75

How do you show other participants' cursors in a collaborative editor without flooding the network?

Explanation

Presence data is ephemeral: it isn't stored in the document, it's sent at most 10–20 times per second and smoothed with animation. The document edits themselves are synced separately - via OT or CRDT.

Further reading

Problem with a question

System Design · Middle · question 39

Test yourself

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

Take this quiz