Home avatar

Notes, projects and other thoughts

fastfn Part 2: When a Function Isn't Enough (Services, Workloads, and the docker-compose I Didn't Want to Write)

Functions are a great shape for request/response. They’re a terrible shape for a database. This is the part of fastfn where long-lived services joined the gateway — native docker, native process, Firecracker microVM — all behind one workload config.

node-vmm: VM isolation that feels like spawning a process

1 The comfortable lie about containersThere is a polite fiction in modern development that everyone accepts because it is convenient: we pretend Docker containers are fast and lightweight. And they are, if your reference point is provisioning bare metal in 2005. But as my tools needed to isolate workloads more frequently — and more dynamically — I started feeling the drag of depending on a giant external engine sitting between me and what I actually wanted.