5x faster Edge Functions: V8 isolates to Firecracker MicroVMs
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
5x faster Edge Functions: V8 isolates to Firecracker MicroVMs
Unofficial Hacker News client; not affiliated with Y Combinator.
Normal_gaussian · · focus · HN ↗
Honestly, while I see firecracker replacing docker on the horizon I don't see firecracker replacing v8 isolates for most edge function execution. Firstly, this article's scenario is a bit unusual in that they were using someone else's isolates - so adding on a few hops; secondly isolates running JS/TS can be statically analyzed quite well, and at scale looking historically for issues and exploits, in many edge compute scenarios this is quite desirable. MicroVMs can have an awful lot more flexibility so to get the same benefit you have to really lock down what is available - the trade-offs for mid-size companies seems to benefit isolates. Obviously netlify is more than big enough and relies heavily on this that it leans in their favour.
jst1fthsdys · · focus · HN ↗
binsquare · · focus · HN ↗
Fwiw, you can run this instead free and open source: <a href="https://github.com/smol-machines/smolvm" rel="nofollow">https://github.com/smol-machines/smolvm
Disclaimer: Am author.
dprkh · · focus · HN ↗
binsquare · · focus · HN ↗
Functionality of criu built in so you can get rewind, pause, in an accessible manner.
Embeddable (you can write JavaScript to programmatically use an isolated environment)
Native performance on multiplatform + consistent experience across platforms.
stavros · · focus · HN ↗
EDIT: Ah, looks like it means "runs its own kernel", not "isolates at the kernel" like Docker does.
binsquare · · focus · HN ↗
containers are built on linux primitives & so shares the kernel.
stavros · · focus · HN ↗