Skip to content

Commit 7cf2b4c

Browse files
emmaling27Convex, Inc.
authored and
Convex, Inc.
committed
Make local node executor run a server instead of a one-shot process (#34778)
This PR makes node actions in self-hosted backend way faster. 100ms -> 2ms for a simple action that logs a line. Instead of starting a one-shot node process to execute every single node action, which requires downloading the source and any external packages specified, this change starts a node server in `LocalNodeExecutor` that caches source and external packages similar to how the AWS lambda implementation works. GitOrigin-RevId: 0421a6182e811cd879c69738ad23222ebb32c824
1 parent 18387db commit 7cf2b4c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)