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

Does the worker runtime of the online production environment also use node js + isolated-vm? #143

Closed
lilong7676 opened this issue Sep 21, 2022 · 2 comments
Labels

Comments

@lilong7676
Copy link

Describe alternatives you've considered
I wonder if there will be any security and performance issues using this in a production environment?

@QuiiBz
Copy link
Member

QuiiBz commented Sep 21, 2022

isolated-vm should be safe - see the "Security" section on their README: https://github.com/laverdet/isolated-vm#security

But you're right, using Node.js + isolated-vm isn't the best idea to have high-performance, production-ready services. That's why we're currently rewriting to Rust the Runtime, Serverless and CLI packages:

There are many advantages, but the most noticeable are:

  • Safer and faster code (using v8 directly in Rust, instead of running code in Node.js that calls v8 that calls users code)
  • Less resources usage (will share differences on Twitter, @tomlienard)

@lilong7676
Copy link
Author

Thanks for the reply, looking forward to your progress!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants