Deploy services without images, registries or YAML.
diaporos ships a release as a content-addressed file tree with its deployment contract inside, sends each node only the bytes it doesn't have, and swaps the new release in behind a health check without dropping a request.
curl -fsSL https://diaporos.dev/install.sh | shLinux (x86_64, arm64) and macOS. Closed source, free to use, including commercially.
# a node is running; v1 is serving on :8080$ echo 'hello v2' > app/index.html$ diaporos push app --out hello.manifestuploaded 2 objects, 0.2 KiB compressed$ diaporos deploy hello.manifestdeployed hello e9aa5745cb8b: fetch 1 ms (0.3 KiB from the store), ... total 93 ms$ curl localhost:8080/hello v2
Measured
Ship only what changed.
The gain is in transport and fast health gating, not in faster builds: your compiler runs the same. These are from a 10-node rollout of a Node.js service against Kubernetes, and from zero-downtime runs under load.
sent for a one-line change
once for 10 nodes; Kubernetes pulled 103 KiB
10 nodes · Express
to roll that change out
to 10 nodes; Kubernetes took 10.9–16.4 s
10 nodes · Express
for a cold rollout
read from the store once; Kubernetes pulled 568–811 MiB
10 nodes · Express
failed requests
437,541 requests across swaps, restarts and a rejected release
6 runs · 8–16 clients
10 nodes on one VM, Node 24 + Express (a 123 MiB tree), against kind with 10 workers. Setup, more results and what they don't show: Benchmarks.
A fleet rollout
Ten nodes, a batch at a time, nothing dropped.
Each node tells the store which release it runs and gets back only the delta. It starts the new release beside the old one, waits for the health check, then swaps. A release that fails its check never takes traffic, and the rollout stops.
- serving v1
- delta in flight
- health-gate
- serving v2
What changes
Your build stays. The packaging around it goes.
Keep the build you have. Instead of an image, a registry and a manifest, the release carries a contract of about six lines, and the node does the rest.
Today
- your build unchanged
- Dockerfile image recipe
- docker build layers
- docker push / pull changed layers, whole
- deployment.yaml manifest
- kubectl apply rollout
With diaporos
- your build unchanged
- diaporos init the contract, read from your repo
- diaporos push new objects only
- diaporos deploy delta, verify, health-gate, swap, drain
How it works
From a directory to a running service.
Five ideas, each a small part of one binary. Read the details.
The contract travels with the code
A diaporos.contract file at the root of the release (or embedded in a Rust binary) names the program, ports, health check, resources and grants. It's checked when you push.
Releases are content-addressed
A directory becomes a Merkle tree, like git. Unchanged subtrees such as node_modules are shared between releases.
Transport is a delta
The node says which releases it has. The store answers in one round trip with the missing objects and zstd patches for changed files.
The node swaps behind a health check
The new release starts beside the old one on a private port. Traffic moves only once it's healthy; a failing release never takes any.
The fleet needs no control plane
A fleet file in git. Rollouts go a batch at a time, roll back on failure, and nodes fetch from each other before the store.
- pull
- verify
- materialize
- launch
- health-gate
- swap
- supervise
The contract
What the service needs, in the release itself.
Plain text at the root of the tree. The node clears the environment and gives the service only what it declares: its ports, the variables it reads, the files it touches, its CPU and memory. The health check gates every swap.
For a Node.js repo, diaporos init writes it from what the repo already says (Dockerfile, .env names, Helm probes), each line commented with its source. diaporos secret import puts the .env values on the node, never in the release.
name orders-apiexec bin/node dist/mainport http 3000env PORT ${DIAPOROS_PORT_HTTP}health http /healthmemory 512Micap net.listen httpcap net.connect postgres:5432cap env.read DATABASE_URL
Included
Everything a node needs, in one binary.
No daemon to install besides diaporos itself, no registry, no database for the fleet.
Any language
A release is a directory with a contract: Node, Python or Go with its runtime, or one Rust binary. diaporos bundle copies in the shared libraries it needs.
Bring your images or your repo
diaporos import turns a container image into a release, its config into the contract. diaporos init does it for a built Node.js repo, reading the contract from its Dockerfile, .env and Helm chart.
Least privilege from the contract
A service gets only the ports, variables, files and resources it declares. On Linux the sandbox runner enforces them with Landlock and cgroup v2.
Signed releases
Sign with Ed25519 keys at push time. A node with a trust file runs only releases signed by its keys, and re-checks on every start.
Observability included
Prometheus metrics, events and service logs from every node, a dashboard per node and one for the whole fleet.
One binary, no telemetry
The CLI, node agent, store and dashboards are a single self-contained binary, static on Linux. It never phones home.
Benchmarks
Against Docker and Kubernetes, on the same machine.
A production NestJS API on one node: 277 MiB, 67,000 files, Docker + Kubernetes on kind as the baseline.
| Scenario | diaporos | Docker + Kubernetes | Faster |
|---|---|---|---|
| Cold node | 26.1 s | 42.8 s | 1.6× |
| Cold node at 100 Mbit/s | 55.6 s | 106.2 s | 1.9× |
| One-line change | 18.9 s (3.7 KiB to the node) | 90.4 s | 4.8× |
| Dependency bump | 26.0 s (85 KiB to the node) | 245.3 s (1.01 GB layer) | 9.4× |
- Everything ran on one machine with a local network. The Dockerfile copies
node_modulesfrom the build context, the worst case for layers. - Lazy-pull images (eStargz, Nydus, zstd:chunked) and registry mirrors weren't compared; they narrow the cold-start gap.
- Kubernetes spends most of its rollout on pod churn and readiness periods: the cost of a general scheduler, which diaporos doesn't have.
Status
Experimental. Read the limits first.
One node and a fleet work end to end and are benchmarked. diaporos isn't production-proven yet.
All known limitations →- The fleet is pushed from one CLI. No placement or gossip yet, so a dead node's services don't move.
- Isolation is partial. The Linux sandbox enforces files, ports, CPU, memory and pids, but there are no namespaces or seccomp yet.
- The control API is plain HTTP. Keep it on loopback (the default) and tunnel with
ssh -L. - Bundled trees still use the host's C library. Build on the oldest system you deploy to.
Deploy your first service in minutes.
Install the binary, start a node, push a directory. The quickstart walks through a zero-downtime one-line change.
curl -fsSL https://diaporos.dev/install.sh | sh