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

support more connectors #287

Open
3 of 6 tasks
darkskygit opened this issue Mar 18, 2023 · 0 comments
Open
3 of 6 tasks

support more connectors #287

darkskygit opened this issue Mar 18, 2023 · 0 comments
Assignees
Labels
feat New feature or request mod:sync Related to sync module(jwst-rpc)

Comments

@darkskygit
Copy link
Member

darkskygit commented Mar 18, 2023

In OctoBase, the sync protocol is designed to be transport layer agnostic.

Developers only need to provide an mpsc sender and receiver to transmit data in different transport layers.

For example, we can simply bind ydoc, and monitor its read and write, we accept update from mpsc receiver, and send the modification of ydoc to sender, so as to realize an in-memory connector.

We can use the in-memory connector to simulate multi-person collaboration without the need to build a complex server environment.

Similarly, we can implement more connectors based on http, webrtc or libp2p, so that octobase can be easily synchronized in different network environments.

image

The planned connector:

Tasks

  1. 3 of 3
    good first issue help wanted
    darkskygit
  2. mod:sync
    darkskygit
@darkskygit darkskygit added feat New feature or request mod:sync Related to sync module(jwst-rpc) labels Mar 18, 2023
@darkskygit darkskygit added this to the Alpha Kreta Ayer milestone Mar 18, 2023
@darkskygit darkskygit self-assigned this Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request mod:sync Related to sync module(jwst-rpc)
Projects
None yet
Development

No branches or pull requests

1 participant