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

Sync Manager: update to support P2P Stubs #137

Open
2 tasks
pchainho opened this issue Nov 14, 2016 · 0 comments
Open
2 tasks

Sync Manager: update to support P2P Stubs #137

pchainho opened this issue Nov 14, 2016 · 0 comments
Assignees
Labels

Comments

@pchainho
Copy link
Contributor

pchainho commented Nov 14, 2016

  • Don't add MN listeners for P2P stubs and request the registry to resolve the data object address to the p2p stub address
  • Exchange messages between runtime sync managers to setup data sync route through the p2p connection:
    1 - use WatchingYou to monitor changes (new or remove) to data object reporters and data object observers
    2 - use WatchingYou to monitor changes to p2p connections
    3 - for new reporters, sync manager sends a subscribe message to each live p2p connection to subscribe to data object and subscription address (similar to subscribe sent to MN)
    4 - for new observer, sync manager sends a subscribe message to each live p2p connection to subscribe to data object changes address and each "children" address (similar to subscribe sent to MN)
    5 - for new p2p connection performs step 3 for each existing reporter and step 4 for each existing observer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants