Skip to content

Avoid blocking the Tokio executor for Mate executor #80

Description

@LeoBorai

Currently all jobs runs on a tokio::task which is okay for lightweight parallel tasks but when running
arbitrary WASM files we could encounter heavy-lifting tasks which involves intensive CPU usage.

To reduce the risk, and to better align with having multiple executors architecture we could benefit from
the spawn_blocking approach instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions