Scaling self-hosted Convex: compilation of TypeScript Convex functions into WASM
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
The author built convex-wasm-compiler, which compiles TypeScript Convex queries and mutations into WebAssembly, and a patch to self-hosted convex-backend that runs them on Wasmtime fibers inside the backend's Tokio runtime.