Self-hosting Durable Objects: celld, workerd, Rivet, Cloudflare

Engineering24 min read

Plans changed on 2026-11-24. See current plans at /pricing.

We ran the same Context Mode gateway on four platforms: celld, a workerd cluster, Rivet with OpenOrange, and our live Cloudflare deployment. Quality is the same on all four: Codex passed 14 of 14 sessions everywhere, and the cost saving is within noise. Speed and operations are not the same. On a calm test machine, celld wrote fastest (5.59 ms median) and moved 2,197 requests a second. workerd read fastest (1.55 ms) but lost about half of new tenants under load. Rivet survived crashes best (35 s outage) but was 3 to 5 times slower. We cannot yet say which to pick. At the end we ask the celld, workerd and Rivet teams which one we should go with, and where we are wrong.

The short version

Quality: the same on all four

Each system ran the same 7 coding tasks, 2 sessions per task, through the gateway (arm G) and straight to the model (arm D). The cost saving compares G with D. With only 2 sessions per task, the ranges overlap. Read this as "equal", not as a ranking.

Table 1. Quality on the same 7 tasks, 2 sessions per task. Cost saving compares the gateway with the direct model.

Quality (same 7 tasks, 2 sessions each)celldworkerd clusterRivet / OpenOrangeCloudflare (live)
Codex: sessions passed14 of 1414 of 1414 of 1414 of 14
Codex: cost saving vs direct (95% range)66.0% (62.5 to 69.2)61.7% (57.8 to 65.3)62.5% (58.3 to 66.3)58.3% (54.1 to 62.2)
Claude: sessions passed (not void)13 of 1313 of 1313 of 1414 of 14
Claude: cost saving vs direct (95% range)71.2% (67.9 to 74.2)71.8% (67.6 to 75.6)70.3% (60.9 to 79.4)69.0% (61.1 to 76.4)

Claude on Rivet / OpenOrange did not finish one session of the hardest task. Before we fixed an egress problem (see Air gap), two earlier Claude runs on OpenOrange were void because the gateway could not reach the model. They are not counted, and we say so here. Cloudflare runs a newer build than the self-hosted three, so its numbers match in spirit, not bit for bit.

Bar chart of Codex and Claude cost saving for celld, workerd, Rivet/OpenOrange and Cloudflare, with 95% ranges that overlap
Figure 1. Cost saving versus direct, with 95% bootstrap ranges. 2 sessions per task.

Performance at a glance

The self-hosted numbers come from a calm window on the test machine (load 1.3 to 4.0). We took raw samples: 3 runs of 1,000 requests each, 2 clients at once, 50 warm-up requests thrown away. The throughput, scale and crash rows are single runs. The Cloudflare numbers are from our box over the internet, at a low rate, 200 requests each, and are not directly comparable. Section "Cloudflare" explains the gap.

Table 2. Speed, scale, safety and restarts. Bold is the best self-hosted value in the row.

Performancecelldworkerd clusterRivet / OpenOrangeCloudflare (live)
DO read, median ms (calm box, n=3,000)2.151.557.15137 from our box, 23 on the server (n=200)
DO read, p99 ms9.46.522.2723 client, 559 server
DO write, median ms (calm box, n=3,000)5.599.5418.57200 from our box, 81 on the server (n=200)
DO write, p99 ms23.950.654.7904 client, 581 server
Throughput, 10 clients, 30 s, requests per second2,1971,458462not measured (production)
1,000 new tenants created in parallelsee below: depends on host load48.5% (95% range 45.4 to 51.6)96.9% (95.6 to 97.8)not measured (production)
Acknowledged writes lost after kill -90 of 5520 of 150 of 267n/a
Errors during a rolling restart0 of 155,4630 of 92,54640,494 of 283,726 (14.3%)n/a

On the scale row: celld created all 200 tenants, but at 400 and 1,000 the machine was under heavy load (load 11 to 71, under 1.4 GB free) and celld's nodes shut themselves down to stay safe. An earlier run on a calm machine created 400 of 400 and 984 of 1,000. We do not know which number a quiet production host would give, so we show both and do not rank celld on scale.

The four systems

A Durable Object is a small, single-threaded object with its own SQLite database, found by name. The gateway uses 8 kinds of them: tenant settings, a usage ledger, a full-text index, recall threads and more. It also uses KV, cron, static assets and Dynamic Workers for a code-execution feature. All three self-hosted runs used the same gateway build (51e8f823c), compiled with a self-host profile that swaps Cloudflare-only services (Analytics Engine, Workers AI, email) for portable ones.

Table 3. The four systems.

celldworkerd clusterRivet Engine + OpenOrangeCloudflare Workers (live)
Maker, licenceDeno Land, Apache-2.0Cloudflare, Apache-2.0Rivet, Apache-2.0Cloudflare, managed service
Version testedcelld 0.6.3 (released 22 Oct 2026)workerd 2026-12-02, experimental cluster modeRivet Engine 3.1.2, OpenOrange 1.0.8production build of 4 Dec 2026
Runs Workers code onV8 isolates in one Rust daemon per nodeV8 isolates (the Workers runtime itself)Node.js 22 process that implements the Workers APIV8 isolates on Cloudflare's edge
Durable Object storageone SQLite per object (a cell), changes shipped to an S3 bucket, ownership by a lease written to the bucketlocal SQLite per object, write-ahead log captured and acknowledged after the bucket holds itone SQLite per object (a Rivet Actor), placement and routing by the engine, data on S3managed by Cloudflare
Processes we ran2 nodes + store2 nodes + store3 engines + 2 nodes + storenone

How we measured

Fairness rules

Workloads

Table 4. The workloads we ran.

WorkloadWhat it testsSizeClients
versionHTTP path and Worker, no storage3 x 1,000 (calm), 2,000 (loaded)2 (calm), 10 (loaded)
do_readread of one tenant's usage objectsame2 (calm), 20 (loaded)
do_writewrite of one tenant's settings object (a SQLite commit)same2 (calm), 20 (loaded)
throughput50/50 read and write mix through the load balancer, closed loop30 s10
scalecreate N fresh tenants at once; each creates several SQLite objectsN = 200, 400, 1,00016
kill -9a writer makes a fresh tenant per write for 60 s; SIGKILL one of two nodes at 15 s; read back every acknowledged write90 to 600 writes8
rolling restartrestart each node in turn under the throughput load100 to 330 s10
quality7 published coding tasks, 2 sessions each, Codex and Claude (Haiku), gateway vs direct14 G sessions per system and suite1 to 2

Statistics

How each system was set up

celld: 2 nodes under a restart-always supervisor, memory cap 1,536 MB, lease 30 s. One patch: celld has no ctx.exports, so we wrapped the Dynamic Worker egress binding in a try/catch (2 lines).

workerd cluster: 2 instances in experimental cluster mode, stop timeout 8 s, restart-always supervisor. The cluster bucket must exist before start. No code patches.

Rivet / OpenOrange: tuned from Rivet's public production checklist, after an untuned first try in an earlier round. Engine moved to 3.1.2 GA, from 1 to 3 engines each with its own log directory and advertise address, a versioned bucket, the admin token from a secret, telemetry off, balancing left at default, 2 OpenOrange nodes with a node version set, and restart-always supervisors on engines and nodes. Two workarounds: secrets are read only from .dev.vars, and OpenOrange's worker fetch() ignores HTTPS_PROXY, so we patched 2 lines (details in Air gap). OpenOrange has no readiness route, so the load balancer checked /__version.

Cloudflare: the production Worker with Smart Placement. Our requests entered at the Ashburn (IAD) edge and the response header said the Worker ran in Frankfurt.

The test machine

These specs come from the machine itself (lscpu, /proc/meminfo, lsblk, uname). The raw output is in the data files.

Table 5. The test machine.

ItemValue
TypeKVM virtual machine. The agent runs in a container inside it (systemd-detect-virt says container-other).
CPU8 vCPU, Intel Xeon (family 6, model 207), 1 thread per core, 1 socket, L2 16 MiB, L3 320 MiB
Memory16,386,416 kB (about 15.6 GiB), no swap, virtio memory balloon
Disks3 virtio block devices of 128 GB. Test data on one of them (125 GB, 69% to 85% full). I/O scheduler mq-deadline. The hypervisor does not say if the media is SSD or HDD.
Kernel, OSLinux 6.12.113, x86_64, Debian GNU/Linux 13 (trixie)
ToolsNode.js 22.23.4, Bun 1.4.4, Python 3.13.5, rustc 1.85.1, tcpdump 4.99.5, numpy 2.5.5, matplotlib 3.11.2
Runtimescelld 0.6.3, workerd 2026-12-02, Rivet Engine 3.1.2, OpenOrange 1.0.8, RustFS 1.0.7 (the S3-compatible store for all three)
Networkall gateway processes in one Linux network namespace; the only way out is an egress proxy that allows two model hosts; no DNS inside

It was shared and oversubscribed. Other automated agents ran builds and tests on it while we measured. The one-minute load average ranged from 0.2 to about 207 on 8 vCPUs. Free memory often fell under 1.5 to 2 GB. The kernel logged memory-balloon exhaustion, and the out-of-memory killer fired twice on unrelated processes. This has three effects:

Latency on a calm host

Three charts of latency distributions on a log scale for version, DO read and DO write; workerd is fastest on reads, celld on writes, OpenOrange slowest
Figure 2. Latency CDFs, 3 x 1,000 requests per system and scenario, 2 clients, host load 1.3 to 4.0.

Table 6. Latency on the calm window. It has n, mean with standard deviation, and the median, p95 and p99 with 95% ranges. Times are in milliseconds.

SystemScenarionerrorsmean ± sdp50 [95% CI]p95 [95% CI]p99 [95% CI]rps per rep (mean ± sd, n=3)load1
celldversion300001.21 +/- 0.451.11 [1.1, 1.1]1.71 [1.7, 1.8]2.61 [2.4, 2.9]1651 +/- 821.3–1.9
cellddo_read300002.52 +/- 2.712.15 [2.1, 2.2]3.59 [3.4, 3.8]9.40 [6.9, 12.1]815 +/- 1701.5–2.0
cellddo_write300006.19 +/- 5.115.59 [5.5, 5.7]11.62 [10.8, 12.6]23.89 [22.0, 27.9]328 +/- 501.6–2.0
workerd clusterversion300000.69 +/- 0.740.51 [0.5, 0.5]1.71 [1.6, 1.8]2.95 [2.6, 3.5]3088 +/- 9071.8–2.1
workerd clusterdo_read300001.78 +/- 2.281.55 [1.5, 1.6]2.26 [2.2, 2.4]6.54 [3.9, 9.4]1120 +/- 191.8–2.1
workerd clusterdo_write3000010.32 +/- 25.259.54 [9.4, 9.7]17.53 [16.9, 18.4]50.61 [31.0, 87.6]194 +/- 142.0–2.1
Rivet/OpenOrangeversion300000.91 +/- 1.130.70 [0.7, 0.7]1.51 [1.4, 1.6]3.00 [2.8, 3.3]2237 +/- 3161.6–3.5
Rivet/OpenOrangedo_read300007.70 +/- 2.597.15 [7.1, 7.2]10.09 [9.8, 10.8]22.24 [20.3, 23.8]259 +/- 112.4–3.5
Rivet/OpenOrangedo_write3000021.28 +/- 11.5318.57 [18.5, 18.7]39.87 [38.7, 41.8]54.69 [49.7, 58.4]94 +/- 62.9–4.0

Latency and throughput under load

Table 7. Loaded runs. These runs stored percentiles only, and the host load at the start is in the last column.

SystemScenarionconcp50p95p99rpserrorsbox load1 at start
celldversion2000102.34.87.2382802.44
celldauth4012000101.64.26.2507602.44
cellddo_read2000207.315.720.1244902.44
cellddo_write20002013.322.737.5144702.44
workerd clusterversion2000101.84.26.4462801.59
workerd clusterauth4012000101.64.79.2484501.59
workerd clusterdo_read2000209.519.531.7185501.59
workerd clusterdo_write20002053143.653131401.59
Rivet/OpenOrangeversion20001037.613.6263604.45
Rivet/OpenOrangeauth4012000102.1615.5379204.45
Rivet/OpenOrangedo_read2000203656.162.454504.45
Rivet/OpenOrangedo_write200020128.3204.324815104.45
Cloudflare (live)version2002112.7146.8207.3170n/a
Cloudflare (live)auth4012002112.3143.8837.515.70n/a
Cloudflare (live)do_read2002137.4545.3722.510.80n/a
Cloudflare (live)do_write2002200.1671.5903.97.60n/a

Table 8. Throughput: 10 clients, a 50/50 read and write mix, 30 seconds, one run per system, zero errors in all three. celld served 1.5 times what workerd did and 4.8 times what OpenOrange did. Trust the ratios, not the exact numbers: it is one run each.

Systemrequestsrpserrorsp50p95p99maxLB retries
celld65906219703.89.313.85420
workerd cluster43748145804.315.534.23910
Rivet/OpenOrange13845462016.152.674.72820
Bar chart of requests per second: celld about 2,197, workerd about 1,458, Rivet/OpenOrange about 462
Figure 3. Throughput, 10 clients, 30 s, one run each.

Tenant scale

This test creates N brand-new tenants, 16 at a time. Each new tenant creates several SQLite objects, which is the hard case for these systems.

Line chart of the percent of new tenants created OK at 200, 400 and 1000 tenants for each system
Figure 4. Share of new tenants created, best full run per system, with Wilson 95% ranges. The hollow celld line is an earlier calm-host run.

Table 9. Scale: 1,000 new tenants in parallel.

SystemrunNoksuccess % [95% CI]secondsbox load1dominant error
celld120010150.5 [43.6, 57.4]35.16.58connection error
celld140000.0 [0.0, 1.0]0.371.23connection error
celld1100000.0 [0.0, 0.4]0.471.23connection error
celld2200200100.0 [98.1, 100.0]5.810.92n/a
celld240018646.5 [41.7, 51.4]236.311.08connection error
celld2100000.0 [0.0, 0.4]0.570.21connection error
celld340031779.2 [75.0, 82.9]146.58.84connection error
workerd cluster120015376.5 [70.2, 81.8]6.13.97500 error
workerd cluster140020150.2 [45.4, 55.1]12.03.49500 error
workerd cluster1100048548.5 [45.4, 51.6]35.47.45500 error
Rivet/OpenOrange120015175.5 [69.1, 80.9]61.35.87500 error
Rivet/OpenOrange140000.0 [0.0, 1.0]1.111.16500 error
Rivet/OpenOrange1100000.0 [0.0, 0.4]2.311.16500 error
Rivet/OpenOrange2200200100.0 [98.1, 100.0]13.84.06n/a
Rivet/OpenOrange240038395.8 [93.3, 97.3]226.33.97502 request_outcome_unknown
Rivet/OpenOrange2100096996.9 [95.6, 97.8]392.011.95502 request_outcome_unknown

Crashes and restarts

Table 10. Resilience: kill -9, host stalls and rolling restarts.

Systemtestattempted / requestsackedacked losterrorserror % [95% CI]outage snotes
celldkill -9 one of 2 nodes5745520223.8 [2.5, 5.7]74.3n/a
celldrolling restart, 10 clients155463n/an/a00.00 [0.0, 0.0]n/aLB retries 17; n1 restarted and healthy in 17.9s; n2 restarted and healthy in 21.6s
workerd clusterkill -9 one of 2 nodes911507683.5 [74.6, 89.7]62.91 write first read back as lost (transient 500) was present on re-read 3 min later
workerd clusterrolling restart, 10 clients92546n/an/a00.00 [0.0, 0.0]n/aLB retries 0; node 1 restarted and healthy in 7.4s; node 2 restarted and healthy in 7.2s
Rivet/OpenOrangekill -9 one of 2 nodes33726707020.8 [16.8, 25.4]34.9n/a
Rivet/OpenOrangerolling restart, 10 clients283726n/an/a4049414.27 [14.1, 14.4]n/aLB retries 13141; n1 307.1s (graceful TERM drain), n2 43.1s

What happened when the host stalled. All three fenced themselves, which is the safe behavior, and all three did it on this machine. celld exited with code 3 (7 and 14 times on its two nodes). workerd exited with code 1 (5 and 8 times); the cases we inspected said the lease lapsed before it could be renewed. Rivet's three engines stopped together twice ("log shard" write timeouts and "singleton coordinator fenced this worker's lease") and restarted 7 to 9 times each during the scale run. All came back under a supervisor. Plan for a supervisor and for dedicated disk and memory with any of them.

Memory and CPU

Three time-series charts of memory per process group with host load for celld, workerd and Rivet/OpenOrange
Figure 5. Memory per process group (solid) and host load (dashed) during the loaded runs. The workerd series also includes an unrelated workerd process.

Table 11. Memory and CPU.

Systemprocess groupsamples nRSS median (MB)RSS mean ± sdRSS p95RSS maxCPU mean % ± sdCPU p95 %
celldbin/celld42611941226 +/- 9302770284579 +/- 137369
celldrustfs server426210199 +/- 3623527843 +/- 88159
workerd clusterrustfs server774359360 +/- 2040944911 +/- 2364
workerd clusterworkerd serve (contaminated: also matched an unrelated workerd)77415331488 +/- 3401998229719 +/- 35106
Rivet/OpenOrangeengine-cli-linux-x64-musl/rivet-engine53212541087 +/- 69221542381141 +/- 129345
Rivet/OpenOrangeoo-cli/node_modules53224422422 +/- 4143060325081 +/- 93213
Rivet/OpenOrangerustfs server532732779 +/- 1851124115550 +/- 60166

Calm-host snapshots after the raw benchmark (3 x 3,000 requests, 50 tenants): workerd nodes 542 MB while serving and 157 MB idle. Rivet engines 161, 209 and 260 MB; OpenOrange node processes 195 + 247 MB and 200 + 338 MB (server plus runner). celld's median was about 0.6 GB per node, with peaks near 1.4 GB per node at its memory cap. Do not use the workerd time series in Table 7: it is contaminated. Earlier per-node measurements for workerd were 0.2 to 0.5 GB.

Quality in detail

Table 12. Pass counts, sample sizes and bootstrap ranges behind Table 1. Session wall time (median, gateway / direct) for Claude was 6.0 / 7.0 s on celld, 6.8 / 5.9 s on workerd, 6.3 / 7.5 s on Rivet / OpenOrange and 6.0 / 6.2 s on Cloudflare. The model dominates that time, not the gateway.

SuiteSystemG sessions nG passG voidssaving % vs D95% bootstrap CID referenceClaude: saving vs historical pooled D
codexcelld1414/14066.0[62.5, 69.2]direct run, n=14 (2/task)n/a
codexworkerd cluster1414/14061.7[57.8, 65.3]direct run, n=14 (2/task)n/a
codexRivet/OpenOrange1414/14062.5[58.3, 66.3]direct run, n=14 (2/task)n/a
codexCloudflare (live)1414/14058.3[54.1, 62.2]direct run, n=14 (2/task)n/a
claudecelld1413/13171.2[67.9, 74.2]P5 in-run D pooled over 4 runs, n=5275.6
claudeworkerd cluster1413/13171.8[67.6, 75.6]P5 in-run D pooled over 4 runs, n=5276.2
claudeRivet/OpenOrange1413/14070.3[60.9, 79.4]P5 in-run D pooled over 4 runs, n=5274.9
claudeCloudflare (live)1414/14069.0[61.1, 76.4]P5 in-run D pooled over 4 runs, n=5273.8

The last column compares Claude against the pooled direct cost we used in earlier reports: 75.6%, 76.2%, 74.9% and 73.8%. The conclusion is the same: equal within noise.

Cloudflare, live

We measured the production gateway from the same machine, over the internet, with 200 requests per test and 2 clients at once. Requests entered at Cloudflare's Ashburn (IAD) edge. The Worker ran in Frankfurt (response header cf-placement: remote-FRA), because of Smart Placement. The gateway can return its own server-side time in a header when asked, so we can split network from gateway.

Stacked bars of server time and the remainder of client time at p50, p95 and p99 for DO read and DO write on Cloudflare
Figure 6. Cloudflare: server time and the rest (client minus server). The split at p95 and p99 is approximate because it is computed from percentiles.

Table 13. The live Cloudflare gateway, 200 requests per scenario, measured over the internet.

Scenarioclient p50 / p95 / p99server p50 / p95 / p99 (n)client − server at p50
version112.7 / 146.8 / 207.3not reported by this route (0)n/a
auth401112.3 / 143.8 / 837.5not reported by this route (0)n/a
do_read137.4 / 545.3 / 722.523 / 413 / 559 (200)114.4
do_write200.1 / 671.5 / 903.981 / 533 / 581 (200)119.1

At the median, about 114 to 119 ms of each request is outside the gateway: TLS, the edge, and the hop from Ashburn to Frankfurt. The version route has no storage and sits at 112.7 ms, a good estimate of that floor. Server-side DO time at the median (23 ms read, 81 ms write) is higher than any self-hosted system on a calm host, and the p95 is long (413 to 533 ms). With 200 requests at a low rate we cannot say if that is cold objects, cross-region placement or noise.

Not measured, on purpose: throughput, scale, kill, rolling restart, cold start, rollback and resource use. It is production, and we only sent measurement traffic. The live build is newer than the one on the self-hosted three.

Air gap

Our rule: all gateway processes run in a Linux network namespace whose only route out leads to an egress proxy. The proxy allows CONNECT only to the two model hosts and logs every request. There is no DNS inside. We verify with a packet capture during real agent traffic. A packet counts as a violation unless it goes to the proxy, replies from a gateway listener, or is ARP. A DNS query counts even if nobody answered it. Cloudflare cannot be air-gapped, so it is out of this test.

Table 14. Air gap test: packets seen from each system's network namespace.

SystemCapturePackets from the namespaceDNS queriesUnexpected packetsNew outbound connections
celldearlier phase, real agent trafficn/a0083, all to the egress proxy
workerd clusterearlier phase, real agent trafficn/a0058, all to the egress proxy
OpenOrange, before our patch13:27 to 13:33 TRT, Codex and Claude7,22748 (unanswered)4820, all to the egress proxy
OpenOrange, after our patch13:43 to 13:52 TRT, Claude suite9,2010062, all to the egress proxy

All three can be confined. celld and workerd honored the proxy setting out of the box. OpenOrange's worker fetch() uses its own HTTP agent and ignores HTTPS_PROXY, and Node 22 ignores NODE_USE_ENV_PROXY, so it tried DNS for the model host inside the namespace. Nothing left the namespace, but the product was broken. We patched 2 lines in OpenOrange so the worker fetch uses undici's EnvHttpProxyAgent when a proxy is set. After that, the capture showed no DNS and no unexpected packets.

Trade-offs, system by system

celld. Best write speed and throughput, the simplest operations (one binary, no errors in the rolling restart, 2.55 s rollback), and a clean air gap with no patch for the proxy. Costs: the highest memory per node of the two V8-based runtimes, nodes that shut themselves down under memory pressure, a small patch for the missing ctx.exports, and maintenance risk. The project had no commits for about six weeks when we tested and does not take pull requests, so an adopter must be ready to own a fork.

workerd cluster. Cloudflare's own engine, so the best fidelity, the lowest memory, the fastest cold start and clean restarts. But cluster mode is experimental, and for our write pattern it was not usable because of #8275. Write latency has a long tail because a write is acknowledged only after the bucket holds it. It looks the most attractive once #8275 is fixed.

Rivet / OpenOrange. The best crash result (35 s, nothing lost), good scale once supervised, and a clear public production checklist. In exchange: the slowest DO path (3 to 5 times slower than celld), the most processes and memory, two workarounds, and 14.3% errors in a rolling restart for lack of a readiness route. OpenOrange runs Workers on Node.js, not V8 isolates, which removes Workers limits but lowers fidelity. The project was three weeks old when we tested and moves fast. Some of these findings may already be fixed.

Cloudflare. No operations and full quality. Every request pays network distance to wherever the Worker is placed (about 115 ms from our machine), server-side tails were long at a low rate, and it cannot meet an air-gap or on-premises requirement.

Limits of this study

What we did not measure

Table 15. What we did not measure.

Not measuredSystemsWhy
Throughput, scale, kill, rolling restart, rollback, cold start, resourcesCloudflareProduction service. We sent measurement traffic only and did not deploy or change anything.
Rollback timeRivet / OpenOrangeNo in-place version swap; we did not build a rollback procedure.
Formal cold startRivet / OpenOrangeSkipped under host overload. We report observed first-request times.
1,000-tenant scale on a calm hostcelld, this campaignThe host was overloaded in that window. An earlier calm-host run is cited.
Memory and CPU time seriesworkerd, this campaignOur sampler also matched an unrelated workerd process. We use a snapshot and earlier figures.
Run-to-run variancethroughput, scale, kill, rolling restartOne trial each.
Several machines, a replicated storeall self-hostedOne VM, one single-node store.

Which one should we pick?

We build product, not runtimes. The numbers above do not give a clear winner, and we would rather ask than guess. These are open-source projects. To the celld team at Deno, the Cloudflare workerd team, the Rivet team, and anyone else in those communities: which one should we go with for an air-gapped, self-hosted Durable Object runtime, and where are we wrong?

If you correct anything, we will update this post and credit you.

Reproduce it

The measurement scripts, the analysis and the raw data are listed here so you can check the numbers. The files below are the ones behind every table and figure.

How we ran each system: a restart-always supervisor per process; deploy of the release into the celld fleet; the workerd cluster with its bucket and key file; three Rivet engines, the default pool created through the API, then two OpenOrange nodes. Tests: a raw latency script (1,000 requests per run, 2 clients, 50 warm-up requests discarded), a closed-loop load script behind a health-gated load balancer, a 16-client tenant-creation script, a kill script (SIGKILL one node, then read back every acknowledged write), a rolling-restart script run under load, and a packet-capture classifier for the air-gap test. The two agent suites use 7 published tasks with 2 sessions each.

The OpenOrange patch, in dist/runtime/chunks, adds undici's EnvHttpProxyAgent to the import and picks it as the dispatcher for worker fetch when HTTPS_PROXY is set; otherwise the original dispatcher is used.

Get started free

Context Mode Gateway: your coding agent costs less and remembers your project. Context Mode Engine installs from your terminal.

Start free: 10,000 requests, every feature, no card. After you sign in, the console gives you one command to connect your coding agent.

Read the docs