Skip to content

feat(builder): isolate CPU heavy EVM sim work on tokio blocking task#234

Closed
Evalir wants to merge 1 commit intofix/dedicated-sim-runtimefrom
evalir/isolate-sim-work
Closed

feat(builder): isolate CPU heavy EVM sim work on tokio blocking task#234
Evalir wants to merge 1 commit intofix/dedicated-sim-runtimefrom
evalir/isolate-sim-work

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Mar 2, 2026

See #233.

What we actually want is to isolate the single task, CPU heavy work from blocking the main tokio thread so that it can schedule handling healthchecks and other tasks while also continuing the sim work. Tokio can do this with spawn_blocking, which shifts the spawned task into its blocking task thread pool, avoiding the contention issue.

Copy link
Member Author

Evalir commented Mar 2, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir
Copy link
Member Author

Evalir commented Mar 2, 2026

nvm this is not the issue. This is properly done down in the SDK.

@Evalir Evalir closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant