Substreams (v1.14.0)
Reconnection time
- Implement "QuickSave" feature to save the state of "live running" substreams stores when shutting down, and then resume processing from that point if the cursor matches.
- Added flag
substreams-tier1-quicksave-storeto enable quicksave when non-empty
(requires--common-system-shutdown-signal-delayto be set to a long enough value to save the in-flight stores)
- Added flag
Performance
- Rust modules will now be executed with
wasmtimeby default instead ofwazero.- 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
wbindgenand modules compiled withtinygo. - Set env var
SUBSTREAMS_WASM_RUNTIME=wazeroto revert to previous behavior.