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

Shift Subnet Backbone Structure in Prysm #12715

Closed
nisdas opened this issue Aug 10, 2023 · 0 comments · Fixed by #13179
Closed

Shift Subnet Backbone Structure in Prysm #12715

nisdas opened this issue Aug 10, 2023 · 0 comments · Fixed by #13179
Labels
Discussion Simply a thread for talking about stuff Help Wanted Extra attention is needed Networking P2P related items

Comments

@nisdas
Copy link
Member

nisdas commented Aug 10, 2023

💎 Issue

Background

Since ethereum/consensus-specs#3312 has been merged in for a while, this issue will track the implementation
design and steps of this spec change in Prysm.

Description

Currently each Prysm node will subscribe to a number of attestation subnets proportional to the number of validators it hosts. This puts a strain on nodes running many validators as you would need to process all the attestations flowing through the network. With this change every node in the network will now subscribe to 2 subnets, allowing the load to be distributed across the network. In order to correctly implement this in Prysm we will need to handle a few things:

  • Implement Subnet Computation ( based on node-id)
  • Disable long-lived subscriptions based on validator count.
  • Gate this with a feature flag
  • Track peer/subnet discoverability metrics with this feature. With nodes being less 'heavy' , it will
    take more time/effort to find peers with our desired subnets.
  • Add support for enforcement of subscribed subnets ( disabled till the next HF)
@nisdas nisdas added Help Wanted Extra attention is needed Discussion Simply a thread for talking about stuff Networking P2P related items labels Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Simply a thread for talking about stuff Help Wanted Extra attention is needed Networking P2P related items
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant