Skip to content

Instantly share code, notes, and snippets.

@nikgraf
Last active June 3, 2025 12:08
Show Gist options
  • Save nikgraf/9c264defd20c9e6b86ef6374fe311821 to your computer and use it in GitHub Desktop.
Save nikgraf/9c264defd20c9e6b86ef6374fe311821 to your computer and use it in GitHub Desktop.
Thoughts on ephemeral data

Ephemeral data

Variations

  • Data that doesn't depend on the current state of a doc and is quite small e.g.
    • Awarness (is the other person online)
    • Mouse position on a Canvas
  • Data that depends on a specific change e.g.
    • Cursor position in a document

There could be a case for sending larger amounts of information only when new participants come online and then have smaller updates.

Security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment