go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

Agreement msgpack deserializer - add a thread pool

Open algorandskiy opened this issue 2 years ago • 0 comments

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

  1. Measure the size of the vote message channel during experiments to see how big it gets

Acceptance

  1. Add a new unit test
  2. Existing e2e tests pass
  3. Run a participation Testnet or Betanet node and ensure it advances

algorandskiy avatar Oct 11 '22 19:10 algorandskiy