4 ms·
Could you explain how WASM replaces containers? Let's say I have a backend API written in Java (spring boot). Containers basically solve two things, building an
by redox99 4y ago
Could you explain how WASM replaces containers? Let's say I have a backend API written in Java (spring boot). Containers basically solve two things, building and running the application. What does WASM solve here?
- saidinesh5 4y agoWasm "solves" running your application in a shared environment. i.e not your machine but say a cloudflare machine, that has to run dozens of applications like yours. Without wasm, the unit of containerization for them is operating system process. Each process spins up a jvm that runs your app/backend API. With wasm, the unit of containerization is the exact functions of your backend API. So they can fit more "containers" on a single machine, compared to docker. And that brings faster startups etc..
- llanowarelves 4y agoWow. So moving "containerization" up the stack? It is to containers what containers were to VMs? If so, they need diagrams making that argument same way we all saw for containers vs VMs.
- saidinesh5 4y agoKind of. Cloudflare had a blogpost about this with diagrams and numbers and stuff: https://blog.cloudflare.com/cloud-computing-without-containers/ https://blog.cloudflare.com/cloud-computing-without-containe...