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

feat: Service peer selection on specific shards #680

Closed
3 tasks done
chair28980 opened this issue Aug 24, 2023 · 4 comments
Closed
3 tasks done

feat: Service peer selection on specific shards #680

chair28980 opened this issue Aug 24, 2023 · 4 comments
Assignees
Labels
E:1.4: Sharded peer management and discovery See https://github.com/waku-org/pm/issues/67 for details

Comments

@chair28980
Copy link
Contributor

chair28980 commented Aug 24, 2023

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

Tasks

@chaitanyaprem
Copy link
Collaborator

chaitanyaprem commented Sep 29, 2023

Weekly Update

  • achieved: Peer selection updated to be based on pubsubTopic or contentTopic
  • next: Update lightClient API to consider new peerSelection options

@chaitanyaprem
Copy link
Collaborator

chaitanyaprem commented Oct 13, 2023

Weekly Update

  • achieved: refactor and migrate peer selection to peer manager and update lightclient API to use new options
  • next: on-demand discovery if peers are not available for the shard

@chaitanyaprem
Copy link
Collaborator

Weekly update

@chaitanyaprem
Copy link
Collaborator

chaitanyaprem commented Nov 3, 2023

Weekly update

  • achieved: on-demand peer discovery for service peer selection and new relay shard subscriptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E:1.4: Sharded peer management and discovery See https://github.com/waku-org/pm/issues/67 for details
Projects
Archived in project
Development

No branches or pull requests

2 participants