[FEATURE] Create read VM pool to increase query performance #545
Labels
enhancement
New feature or request
good first issue
Good for newcomers
wasm
Wasm contract related update
Problem definition
Tendermint will support multi-reader access. To cope with this feature, the core also has to make multi-reader accessible wasm structure.
Current wasmvm cache is not structured for multi-reader access. so when we try to execute wasmvm from multiple thread, it is normally broken due to cache missing.
Feature specification
Make multiple read wasm VMs and restrict only one read thread can access one VM.
Additional context
It would be better to allow config the num of VMs and memory size per each VMs.
The text was updated successfully, but these errors were encountered: