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

go back to wasmtime to prevent 'freeze' bug #587

Merged
merged 3 commits into from
Feb 25, 2025

Conversation

sduchesneau
Copy link
Contributor

  • Rust modules will now be executed with wasmtime by default instead of wazero.
    • Prevents the whole server from stalling in certain memory-intensive operations in wazero.
    • Speed improvement: cuts the execution time in half in some circumstances.
    • Wazero is still used for modules with wbindgen and modules compiled with tinygo.
    • Set env var SUBSTREAMS_WASM_RUNTIME=wazero to revert to previous behavior.

@sduchesneau sduchesneau force-pushed the feature/back-to-wasmtime branch from aa954a6 to 8d72f00 Compare February 25, 2025 21:02
@sduchesneau sduchesneau merged commit ca70f72 into develop Feb 25, 2025
5 of 7 checks passed
@sduchesneau sduchesneau deleted the feature/back-to-wasmtime branch February 25, 2025 21:16
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