Skip to content

WASM executor pool #1453

Open
Open
@iduartgomez

Description

@iduartgomez
  • 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_stateetc).
    • 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.

Metadata

Metadata

Assignees

Labels

A-contract-runtimeArea: contract execution and runtimeC-optimizationCategory: An optimization over an existing functionality.E-mediumExperience needed to fix/implement: Medium / intermediate

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions