Skip to content

Support client disconnections and reconnections #11

@marcospb19

Description

@marcospb19

To provide a better collaboration experience, clients should be able to reconnect after temporarily losing connection.

Hosts should also be able to shut a session down.

Disconnections

Reconnections

  • Non-host loses connection.
    • User tries reconnecting, if success, it catches up.
  • Host loses connection.
    • Tries reconnecting, if unsuccessful, session ends, and peers are notified.

Reconnection questions:

  • What's the best approach to ensure that most of the work done while disconnected won't be lost?
    • Should the server store edits in a buffer?
    • Should the client store edits in a buffer?
  • What's a good reconnection timeout?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions