Open evan-forbes opened 3 weeks ago
Blocked on the results of the changes in https://github.com/cometbft/cometbft/pull/3211 make a large difference, if they do not and we still see large amounts of contention, then we continue with this issue. If not, then we move to unplanned.
Currently we see that the consensus reactor takes significant amounts of times to process messages. During network tests, we can see a 50 node network with each node having 10-15 active peers can often result in a 10000 msg pileup in a buffer for envelopes.
To help fix this, we can create a benchmark for the receive portion of the consensus reactor. By creating specific scenarios, we should be able to identify and isolate more specific instances to increase the msg processing rate of the consensus reactor.
Acceptance Criteria
ProcessProposal
waits.Bonus