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

Gossiping all transactions wastes bandwidth #3363

Open
teor2345 opened this issue Jan 31, 2025 · 0 comments
Open

Gossiping all transactions wastes bandwidth #3363

teor2345 opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working networking Subspace networking (DSN) performance Related to performance measurement or improvement

Comments

@teor2345
Copy link
Member

Currently, subspace nodes gossip all new transactions they receive. This can increase network load if there are a lot of new transactions, or large new transactions.

Instead, we want to:
Stage 1:

  • when a batch of transactions is about to be gossiped, send them as transaction hashes by default
  • when an unknown transaction is received from a peer, request it explicitly

Stage 2:

  • [optional] for latency optimization, if after concatenating transaction hashes there is still space in the payload that fits into IPv6 TCP packet, try to expand as many transactions as possible from hashes into full transactions

Ref paritytech/polkadot-sdk#6433

@teor2345 teor2345 added bug Something isn't working networking Subspace networking (DSN) performance Related to performance measurement or improvement labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working networking Subspace networking (DSN) performance Related to performance measurement or improvement
Projects
None yet
Development

No branches or pull requests

1 participant