‹ BackHN Continuity

Thread

5x faster Edge Functions: V8 isolates to Firecracker MicroVMs

229 points · 106 comments · jbott

  1. aaronvg · · focus · HN ↗
    Wish it explained where the v8 isolate latency is coming from compared to microvms
    1. vmg12 · · focus · HN ↗
      v8 isolates aren't actually a great sandbox and I would not trust them implicitly in the AI era. This is probably why they wrap them in an additional sandbox.
      1. torginus · · focus · HN ↗
        But I guess they are good enough to isolate multiple instances of the same code, ran by the same customer in parallel.
        1. Normal_gaussian · · focus · HN ↗
          Without commenting on v8 isolates specifically, this doesn't necessarily hold in any isolation situation; many customers are running code on behalf of their customers, which are often submitting jobs on behalf of theirs, and so on. Isolation breaches within a platform customer can result in significant cross-user data breaches.
          1. torginus · · focus · HN ↗
            You're right, but there are cases when the risk can be managed. Like if you're running an auth lambda in one isolate, and another isolate is running the exact same copy of the code, I'd say malicious exploitation would be low enough a risk, that I'd be comfortable running things like this.

            And I'd say this even is a majority use case.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.