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

Maybe only sync the active workspace? #34

Open
cinnamon-bun opened this issue Dec 7, 2020 · 0 comments
Open

Maybe only sync the active workspace? #34

cinnamon-bun opened this issue Dec 7, 2020 · 0 comments

Comments

@cinnamon-bun
Copy link
Member

This is a tricky one.

If you have 4 workspaces and each has 3 pubs, that's 12 simultaneous streams running.

It could be better to start and stop sync as you switch workspaces, but that makes switching into more of an expensive operation.

Really, I think sync needs to happen pub-by-pub and not for every combination of workspace-and-pub, e.g. only have one connection to each pub no matter how many workspaces there are. This will come in a future version of earthstar.

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