algorand / algorand/go-algorand

Agreement msgpack deserializer - add a thread pool

未關閉
#4,636 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Performance Team Carbon-11
主要語言
Go
星號
1.4k
分支
537
平均合併
1 天 6 小時
30 天內合併 PR
17

描述

**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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。