3 ms·
The V8 isolates used by Deno Deploy and Cloudflare Workers are also promising in that regard. It doesn‘t get much lighter then that.
by kall 5y ago
The V8 isolates used by Deno Deploy and Cloudflare Workers are also promising in that regard. It doesn‘t get much lighter then that.
- nderjung 5y agoIt's really cool work the folks at CloudFlare are working on. The trade-off there though is that it's still a process isolated by the OS and so relies on OS-level security via the use of syscalls. Even if context-switching is reduced with Deno, making privileged calls to, say for instance `open()` or `socket()`, still impose wasted CPU cycles as the OS checks whether the process is allowed to perform this action. With unikernels, the call is allowed (and no extra CPU cycles / instructions are called) since the unikernel is its own VM and is isolated by physical hardware separation.