Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Create read VM pool to increase query performance #545

Closed
yun-yeo opened this issue Aug 30, 2021 · 0 comments · Fixed by #546
Closed

[FEATURE] Create read VM pool to increase query performance #545

yun-yeo opened this issue Aug 30, 2021 · 0 comments · Fixed by #546
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers wasm Wasm contract related update

Comments

@yun-yeo
Copy link
Contributor

yun-yeo commented Aug 30, 2021

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.

@yun-yeo yun-yeo added the enhancement New feature or request label Aug 30, 2021
@yun-yeo yun-yeo self-assigned this Aug 30, 2021
@yun-yeo yun-yeo added good first issue Good for newcomers wasm Wasm contract related update labels Aug 30, 2021
@yun-yeo yun-yeo changed the title [FEATURE] Split write VM and read VM [FEATURE] Create read VM pool to increase query performance Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers wasm Wasm contract related update
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant