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

[Milestone] Peer management strategy for relay and light nodes are defined and implemented #33

Closed
5 tasks
fryorcraken opened this issue Aug 2, 2023 · 2 comments

Comments

@fryorcraken
Copy link
Contributor

fryorcraken commented Aug 2, 2023

2023 Milestones: https://notes.status.im/s/iylE6wdli#

Milestone label: E:2023-peer-mgmt
Priority Tracks: Production Readiness
Due date: 31 Aug 2023

Summary

  1. suitable discovery methods to find new peers
  2. some mechanism to score peers/be biased towards more reliable connections
  3. connection management to establish, maintain and re-establish a large, healthy set of connections to peer decisions re peer persistence
  4. strategies and measurements around peer connectivity restrictions (e.g. NAT traversal, uni- vs bidirectionality of connections, etc.)

Justification

Proper peer and connection management is crucial to ensure reliable message delivery in a Waku network, due to nature of relay. A strong relayer network is the most basic underpinning of any Waku v2 network. All other Waku services builds on the assumption that the underlying message routing works well and is scalable. For example, each peer in the network must be able to establish and maintain at least six good connections to other peers. Read this summary for what would constitute a "good" connection.

Resource-restricted devices, with limited bandwidth or mostly offline need efficient connection management to ensure that reliable connections are set from the moment the app is started or has network access.

Epics

@fryorcraken fryorcraken added Epic Tracks a sub-team Epic. E:2023-peer-mgmt labels Aug 2, 2023
@fryorcraken fryorcraken changed the title [Epic] Peer management strategy for relay and light nodes are defined and implemented [Epic] Peer management strategy for relay and light nodes are defined and implemented Aug 8, 2023
@fryorcraken fryorcraken changed the title [Epic] Peer management strategy for relay and light nodes are defined and implemented [Milestone] Peer management strategy for relay and light nodes are defined and implemented Aug 24, 2023
@fryorcraken fryorcraken added Deliverable Tracks a Deliverable and removed Epic Tracks a sub-team Epic. labels Aug 24, 2023
@fryorcraken fryorcraken changed the title [Milestone] Peer management strategy for relay and light nodes are defined and implemented [Epic] Peer management strategy for relay and light nodes are defined and implemented Aug 24, 2023
@fryorcraken fryorcraken added Epic Tracks a sub-team Epic. and removed Deliverable Tracks a Deliverable labels Aug 24, 2023
@fryorcraken fryorcraken changed the title [Epic] Peer management strategy for relay and light nodes are defined and implemented [Milestone] Peer management strategy for relay and light nodes are defined and implemented Aug 25, 2023
@fryorcraken fryorcraken added Deliverable Tracks a Deliverable and removed Epic Tracks a sub-team Epic. labels Aug 25, 2023
@fryorcraken
Copy link
Contributor Author

monthly update

Peer management has been implemented in go-waku, dogfooding with Status Desktop is the last step.
Further progress done in js-waku to use several peers at the same times thanks to peer exchange, also roadmap for js-waku has been defined in more details.

@jm-clius
Copy link

jm-clius commented Sep 1, 2023

Close as completed. Remaining work tracked in #67

@jm-clius jm-clius closed this as completed Sep 1, 2023
@chair28980 chair28980 removed the Deliverable Tracks a Deliverable label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants