Skip to content

Separate P2P protocol into Mempool-related and others #452

@tnasu

Description

@tnasu

Summary

P2P protocol can send/receive atomically all messages for each P2P connection, so it might be good to separate P2P protocol into Mempool-related and others since it can avoid affecting the consensus mechanism. Of course, increasing network costs. In addition, the transaction execution cost in the block is not changed and still remains.

Problem Definition

In high traffic Transactions, it affects the Consensus mechanism because Consensus messages cannot be sent by Mempool-related messages. It means that the Block generation is delayed. Currently, some solutions are implemented. For example, asynchronous receiving is just cut to process receiving time and helps to be able to shorten the sending interval. Sending ratio can send well balanced. But these don't work well in highly biased situations.

See:

Proposal

Separate P2P protocol into Mempool-related and others. After that, the Block generation cannot be affected by high traffic Transactions.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

Labels

C: enhancementClassification: New feature or its request, or improvement in maintainability of codeStaleFor github bot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions