‹ BackHN Continuity

Thread

5x faster Edge Functions: V8 isolates to Firecracker MicroVMs

229 points · 106 comments · jbott

  1. CodesInChaos · · focus · HN ↗
    > When the MicroVM boots up and the JavaScript server begins to listen on a port, we take a snapshot of the MicroVM. [...] we start a new MicroVM from that snapshot.

    That sounds scary, since forked RNG states can lead to catastrophic failures in UUID generators or cryptography.

    1. ameliaquining · · focus · HN ↗
      Firecracker has existing solutions to this, which I assume they&#x27;re using: <a href="https:&#x2F;&#x2F;github.com&#x2F;firecracker-microvm&#x2F;firecracker&#x2F;blob&#x2F;main&#x2F;docs&#x2F;snapshotting&#x2F;random-for-clones.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;firecracker-microvm&#x2F;firecracker&#x2F;blob&#x2F;main...
      1. tybit · · focus · HN ↗
        You’d hope so, though it’s not unheard of to get this wrong. Fastly managed to snapshot guest seeds and use them at runtime for RNG in their WASM snapshots a few years ago <a href="https:&#x2F;&#x2F;nvd.nist.gov&#x2F;vuln&#x2F;detail&#x2F;cve-2022-39218" rel="nofollow">https:&#x2F;&#x2F;nvd.nist.gov&#x2F;vuln&#x2F;detail&#x2F;cve-2022-39218
      2. CodesInChaos · · focus · HN ↗
        The problem is that this can not not only happen in the kernel, but in any use mode application or library.
      3. [deleted] · · focus · HN ↗

        [deleted]

    2. [deleted] · · focus · HN ↗

      [deleted]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.