Stress test : multi-thread test for proto-codec layer
Closed this issue · 1 comments
Kangmo commented
what
We are assuming that proto-codec layer can encode/decode blocks and transactions using multi-threads. Verify that the assumption is correct.
why
Need to make sure that each layer is working correctly in multi-threaded environment.
how
- Create raw transactions in files using generaterawtransaction RPC.
- Read the transactions from the files, encode/decode transactions and blocks simultaneously.
Kangmo commented
Done, verified proto-codec parses/serializes 800K transactions in 40 threads.