Experimental

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 | sh

Linux (x86_64, arm64) and macOS. Closed source, free to use, including commercially.

quickstart: change one file, deploy again
# 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.

0.6KiB

sent for a one-line change

once for 10 nodes; Kubernetes pulled 103 KiB

10 nodes · Express

1.9–2.5s

to roll that change out

to 10 nodes; Kubernetes took 10.9–16.4 s

10 nodes · Express

36.8MiB

for a cold rollout

read from the store once; Kubernetes pulled 568–811 MiB

10 nodes · Express

0

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.

storev2: one changed filenode 1v1v2node 2v1v2node 3v1v2node 4v1v2node 5v1v2node 6v1v2node 7v1v2node 8v1v2node 9v1v2node 10v1v210 nodes serving v1 · one file changesbatch 1 of 5 · node 1 and node 10: delta, health-gate, swapbatch 2 of 5 · node 2 and node 9: delta, health-gate, swapbatch 3 of 5 · node 3 and node 8: delta, health-gate, swapbatch 4 of 5 · node 4 and node 7: delta, health-gate, swapbatch 5 of 5 · node 5 and node 6: delta, health-gate, swap10 of 10 nodes serving v2 · 0 failed requests
  • serving v1
  • delta in flight
  • health-gate
  • serving v2

Sent for a one-line change

diaporos0.6 KiB
Kubernetes103 KiB

Time to roll it out to 10 nodes

diaporos1.9–2.5 s
Kubernetes10.9–16.4 s

Same 10-node benchmark as above. How it was measured

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

  1. your build unchanged
  2. Dockerfile image recipe
  3. docker build layers
  4. docker push / pull changed layers, whole
  5. deployment.yaml manifest
  6. kubectl apply rollout

With diaporos

  1. your build unchanged
  2. diaporos init the contract, read from your repo
  3. diaporos push new objects only
  4. 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.

Every deploy
  1. pull
  2. verify
  3. materialize
  4. launch
  5. health-gate
  6. swap
  7. 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.

All contract directives
app/diaporos.contractchecked at push
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.

One node, production NestJS API, against Docker and Kubernetes on kind
ScenariodiaporosDocker + KubernetesFaster
Cold node26.1 s42.8 s1.6×
Cold node at 100 Mbit/s55.6 s106.2 s1.9×
One-line change18.9 s (3.7 KiB to the node)90.4 s4.8×
Dependency bump26.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_modules from 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

↑↓ to move ↵ to open