Termsslug: copy-on-write

Copy-on-Write

写时复制

A technique where multiple instances share the same memory pages and copy a page only on write, enabling cheap bulk cloning of r

Curated Intelligence

2 items · Page 1/1
Hacker News AIT2·Tools
62 pts
db-branch Clones Instant Database Branches via ZFS for AI Agents

The open-source db-branch project uses ZFS copy-on-write clones to spin up zero-copy MySQL and PostgreSQL database branches in seconds, enabling migration testing, sandboxed AI agent runs, and per-PR database copies without duplicating data. It is Apache-2.0 licensed, self-hosted, and currently in Beta, with APIs and CLI details still subject to change before 1.0.

Hacker News AIT2·Agents
72 pts
Author Rebuilds Google's Agent Sandbox on Firecracker and Benchmarks It

Google described its Agent Compute Engine on October 22 without latency or density figures, so the author rebuilt the same pattern on Firecracker in roughly 2,200 lines of Go: one microVM per agent session, checkpointed while the model thinks, cloned copy-on-write from warm snapshots, and no network card. Measurements show 64 idle forks of a 512 MiB VM cost about 3 MiB of host memory each; on bare metal a snapshot restore answers in 25 ms, 26x faster than a cold boot, and 64 concurrent forks are ready in about 150 ms, while twelve concurrent forks under nested virtualization on a Mac mini never became ready.