go-algorand
go-algorand copied to clipboard
Agreement msgpack deserializer - add a thread pool
Summary Agreement message msgpack deserialization is currently single-threaded. Assuming we have bursts of votes come in at once, having multiple goroutines deserializing incoming votes might make it faster for agreement to process them.
Proposed solution is to add a thread pool to parallelize deserialization.
Research
- Measure the size of the vote message channel during experiments to see how big it gets
Acceptance
- Add a new unit test
- Existing e2e tests pass
- Run a participation Testnet or Betanet node and ensure it advances