Objective: reduce 2x data write to disk for every block.
Length: 1 month
Resources: @hyng , @trungtin2qn1 @0xkumi
Key results:
** Profile current testnet Disk I/O by 12 June
** Implement new View backup and restore process by 30 June
** Deploy on testnet 7 July
Details:
– In Incognito node, we store new state (view) into disk. When node sync block and create new state, this process will impact disk I/O.
– With the help of statedb(dbv2), we only need to store state root hash, and then able to construct the state using those root hash.
– In this improvement, we reduce the size of the view so that node will not write much data into disk. We expect this could reduce disk I/O data twice and help node sync faster.
Reference
[https://incognito.org/t/a-multi-view-solution-for-pbft-protocol/537]