Hacker News new | ask | show | jobs
by pasanhk 78 days ago
This is a killer niche. Integrated Postgres solves the biggest headache with ephemeral sandboxes—actually keeping the agent's memory. 300ms is already solid, but getting under 100ms usually means moving from "booting" to Firecracker Snapshots.

If you haven't yet, look into pre-warming TAP devices and bypassing the HTTP API for direct process management. Exciting stuff!

1 comments

Thanks! The snapshot approach is exactly what we're using — UFFD (userfaultfd) to restore from a pre-booted snapshot, with on-demand page faulting so the VM responds before all memory is loaded. That's how we get to ~300ms.