-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
A-contract-runtimeArea: contract execution and runtimeArea: contract execution and runtimeC-optimizationCategory: An optimization over an existing functionality.Category: An optimization over an existing functionality.E-mediumExperience needed to fix/implement: Medium / intermediateExperience needed to fix/implement: Medium / intermediate
Description
- Multi-thread wasm executor. Add a job stealing pool of runtimes at the executor for wasm contracts. Make sure that we don’t run updates in parallel for the same ContractInstanceId.
- We don’t have to block threads (like we are currently doing) when running the runtime functions (example
validate_state
etc). - Those can be ran in a different task and as we complete them send the result back.
- Check
crates/core/src/contract.rs
contract_handling
function, here is where we get the requests for running on the contracts that we would have to run in parallel.
- We don’t have to block threads (like we are currently doing) when running the runtime functions (example
Metadata
Metadata
Assignees
Labels
A-contract-runtimeArea: contract execution and runtimeArea: contract execution and runtimeC-optimizationCategory: An optimization over an existing functionality.Category: An optimization over an existing functionality.E-mediumExperience needed to fix/implement: Medium / intermediateExperience needed to fix/implement: Medium / intermediate
Type
Projects
Status
In Progress