Skip to content

Gossiping all transactions wastes bandwidth #3363

Open
@teor2345

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnetworkingSubspace networking (DSN)performanceRelated to performance measurement or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions