-
Notifications
You must be signed in to change notification settings - Fork 42
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: Peer management with shard as a dimension #1505
Comments
Per the research issue, can y'all verify if this is required for JSWaku and assign ownership as necessary. Thank you! |
Questionable if it belongs more to auto sharding or static sharding. |
This is more of autosharding because we assume for static sharding that shard do not change mid execution. |
Indeed, this is more relevant within the autosharding effort, but is a general enough concept to apply to static sharding as well: if you want to publish to a specific shard (whether statically configured or hashed from content topic via autosharding), you need to have a reasonable set of steps to find an appropriate peer that supports that shard. This could be: The epic here (1.4) is the right one. |
@danisharora099 per discussion in js-waku pm meeting, has this issue been addressed in any of your PRs? |
This should be more relevant with the work @adklempner is doing wrt autosharding. Not sure about how exactly this fits in with static sharded peer mgmt. Would be curious for some clarity there. |
cc @fryorcraken @jm-clius can you provide context re: Danish's query wrt autosharding above. |
I can take this on after we merge in the current batch of open PRs (autosharding and peer connectivity) |
should mostly be resolved with #1756 |
@danisharora099 does it make sense to create an issue for each of the bullet points in OP?
I'm not sure if all of these were resolved by your PR |
Parent epic here: waku-org/pm#67 |
is outside the scope of js-waku for now as we don't allow subscribing to new shards once the node has started
i dont think this applies to js-waku either considering we aren't prioritizing relay
connection manager currently connects to all relevant found peers -- perhaps an issue could be opened to add a |
If we assume that peer discovery takes care of filtering peers by shard, these peers must now be managed in a way that makes sense in a dynamic auto-sharded environment. Some requirements/ideas:
Priority: Critical for launch
The text was updated successfully, but these errors were encountered: