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

Black Triangle #2: Shared P2P state across clients #2

Closed
4 tasks done
jonvuri opened this issue Jan 17, 2024 · 0 comments
Closed
4 tasks done

Black Triangle #2: Shared P2P state across clients #2

jonvuri opened this issue Jan 17, 2024 · 0 comments

Comments

@jonvuri
Copy link
Owner

jonvuri commented Jan 17, 2024

Implement a basic version of shared peer-to-peer (P2P) state across connected clients. The state shared should be at least as complex as a queue of objects, and should have strategies to resolve conflicts (i.e. a CRDT). One possible solution is https://syncedstore.org/, but there are probably several others to consider.

Verify:

  • Client 1 can connect with client 2 using some sort of shared link or key
  • Clients 1 and 2 can both add to the same list and see updates instantly
  • Clients 1 and 2 can make edits to any object in the list
  • Either client can leave and rejoin with the state being maintained
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant