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

Scopes (sharding/subscriptions) #15

Open
grrowl opened this issue Jan 18, 2017 · 1 comment
Open

Scopes (sharding/subscriptions) #15

grrowl opened this issue Jan 18, 2017 · 1 comment

Comments

@grrowl
Copy link
Owner

grrowl commented Jan 18, 2017

Add an optional scope key to action.meta, don't gossip those actions to peers unless they've specifically requested a subscription to that scope.

  • This can all be done in the redux-scuttlebutt, without scuttlebutt protocol changes. We control the filter function.
  • Linked to SOURCE. We should ensure it matches a valid pubKey too.
  • When a peer subscribes, they should get all actions on that scope.
@grrowl grrowl changed the title Scopes (subscriptions) Scopes (sharding/subscriptions) Apr 18, 2017
@grrowl
Copy link
Owner Author

grrowl commented Apr 18, 2017

Thinking back, we might need to extend the underlying protocol to ensure when initial subscription occurs, we replay all old actions, or use a timestamp counter per-scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant