Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract Room from Document and move Presence from Client to Room #442

Closed
hackerwins opened this issue Jan 11, 2023 · 1 comment
Closed
Assignees
Labels
enhancement 🌟 New feature or request sdk ⚒️

Comments

@hackerwins
Copy link
Member

Description:

Extract Room from Document and move Presence from Client to Room

AS-IS
Screenshot 2023-01-11 at 9 41 54 AM

TO-BE
Screenshot 2023-01-11 at 9 41 58 AM

Related to

Why:

  • Topics cannot be separated if a client attaches two different documents.
  • We can use transactions by combining the document and the presence. This can reduce the workload by representing Text's selection as presence because presence is cheaper than Document(CRDT).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🌟 New feature or request sdk ⚒️
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants