-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat: Service peer selection on specific shards #1941
Comments
I've looked at the code and it seams easy to do. The hard part is the architecture doesn't make it easy to access Handlers would call |
Architecturally is seams that calling discv5 to find peers with specific shard and caps should be done at the app level. Protocols clients impl. should not know about the discovery process. |
Extracting all the protocols (leaving only mounting) from |
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Done |
Currently a service peer (e.g. a store node) is either provided by the application or it expects the peer manager to suggest a suitable service peer (selectPeer()). This task focuses on the latter: peer manager should provide ability to find service peers for a specific shard, based on the content topic that the application is interested in (e.g. an API call to selectPeer(Protocol, ContentTopic)), or kick off an ad-hoc discovery process until a suitable service peer is found. Client APIs (for filter, lightpush, peer-exchange) should automatically make use of this mechanism if the application does not explicitly set the desired service peer.
Priority: critical for launch
The text was updated successfully, but these errors were encountered: