Robert Chandler: a sync engine on one Durable Object backed by R2
Robert Chandler (@bertie_ai) prices a 100 GB, 1,000-user live-sync workload at about $9 a month on one Durable Object reading immutable 64 KB pages from R2, against his list-price estimates of $190 to $33,500 elsewhere. All figures are his estimates, not bills.
- Products
- Durable ObjectsR2
- Source
- Author experience𝕏
- Author
- Robert Chandler (@bertie_ai)
Key points
- Workload: 100 GB, 1,000 concurrent users, 5 writes a second, every write pushed live. His list-price estimates: Electric + Neon about $190, hosted Zero about $410, self-hosted Zero about $870, Firestore about $4,700, PowerSync about $6,800, Convex about $27,000, Supabase Realtime about $33,500; with lighter fan-out he puts them at $190–2,100.
- Why it is cheap, per the author: data sits in R2 as 64 KB pages that never change, and the object only pulls the pages people look at; his Hacker News copy serves 46 GB with an 80 MB cache. A write pushes only changed rows per view, and he notes outgoing WebSocket messages are not billed, so fan-out is free.
- Where the $9 comes from: a 30-second load test (1,000 sockets from his laptop watching one list) scaled to a month. Limits he lists: queries must be defined up front with an index, the 100 GB is built offline and new writes stay in the object (10 GB cap), and one object is one thread in one region with no replicas.
- Official docs (rechecked 2026-10-22): Durable Objects do not charge for outgoing WebSocket messages or incoming protocol pings, and apply a 20:1 ratio to incoming messages for request billing; R2 Standard storage is $0.015 per GB-month.
Original sources
Published
Original post
Read on 𝕏Robert Chandler (@bertie_ai) prices a 100 GB, 1,000-user live-sync workload at about $9 a month on one Durable Object reading immutable 64 KB pages from R2, against his list-price estimates of $190 to $33,500 elsewhere. All figures are his estimates, not bills.
Robert Chandler
@bertie_ai · Original 𝕏 post
supabase would charge ~$33,000/month to sync 100gb live to 1,000 concurrent users. convex ~$27,000 i'm doing it for $9 on one cloudflare durable object 🧵 https://t.co/xm7Qiwyhs3
Thread: the same workload priced across providers, against about $9 for one Durable Object.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
same workload priced everywhere: 100gb, 1,000 concurrent users, 5 writes a second, every write pushed live electric + neon ~$190 hosted zero ~$410 self-hosted zero ~$870 firestore ~$4,700 powersync ~$6,800 convex ~$27,000 supabase realtime ~$33,500 one durable object: ~$9
Thread: immutable 64 KB pages in R2 at $0.015/GB-month; the object pulls only viewed pages.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
why it's so cheap: the data sits in R2 as 64kb pages that never change ($0.015/gb a month). the durable object only pulls in the pages people actually look at the hacker news copy serves 46gb with an 80mb cache and 7mb of engine memory
Thread: 1,000 tabs at 5 writes/s delivered 150,000 updates, median 174 ms; outgoing WebSocket messages are not billed.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
the sync is the wild part. every list, thread and pixel on screen is a live query, and a write only pushes the rows that changed in each view 1,000 tabs, 5 writes/s: all 150,000 updates delivered, median 174ms. outgoing websocket messages aren't billed, so the fan-out is free https://t.co/JZ26MQJjxk
Thread: inspired by r2db; rebuilt as a Rust engine compiled to Wasm with a sync layer and four live apps.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
inspired by @tantaman's r2db, which proved this was possible at all: https://t.co/PIlmSOQAs0 i rebuilt it from scratch with claude code: a rust engine compiled to wasm, the sync layer and four live apps
Thread: link to the code.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
code: https://t.co/xd3NOzq2Kx
Thread: live demos (Hacker News since 2006, r/place 2022, 146 million NYC taxi trips).
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
they're all live, go break things: hacker news, every story and comment since 2006 (46gb): https://t.co/wdKCPYz6v5 r/place 2022, all 160m pixels: https://t.co/Owvge1zu19 146m nyc taxi trips as one spreadsheet: https://t.co/tQGncjvcos
Thread: what it can't do yet — predefined indexed queries, offline build with a 10 GB in-object write cap, single region and no replicas.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
what it can’t do (yet): - apps only run queries defined up front, each with an index. a new one means a rebuild - the 100gb is built offline. new writes stay in the object (10gb cap), folding them into R2 is next - one object = one thread in one region, no replicas
Thread: the $9 is a 30-second load test scaled to a month; competitor prices are his list-price estimates.
Read on 𝕏Robert Chandler
@bertie_ai · Original 𝕏 post
and the numbers: - $9 is a 30s load test (1,000 sockets from my laptop, all watching one list) scaled to a month - competitor prices are my list-price estimates, every write sent to every user. with lighter fan-out they’re $190–2,100 all of it: https://t.co/uuQSi0nUwJ
More to read
Batching telemetry hourly through two Queues to keep R2 writes to about 720 a month
B LLC’s write-up uses two Cloudflare Queues in alternation, routed by UTC hour, and an hourly consumer that compresses each batch into one R2 object. The author says this keeps R2 writes to about 720 a month, inside the free 1 million Class A operations.
neoblender13: an AI agent’s recursive alarm system turned a ~$10 monthly Cloudflare bill into $1,500; $400 credited.
neoblender13 says the Cloudflare bill is normally around $10 a month, but this month it was hit with a $1,500 bill because an AI agent created a recursive alarm system that ballooned Durable Objects storage writes, and that Cloudflare support was not very helpful. In later replies the author says they did not realize spending limits were alert only, received a $400 credit and still had to pay $1,100, that the single alert email got buried in the inbox, and that a Discord bot now reports costs every 12 hours.
Four layers of cost protection for small Cloudflare projects
David Z (@davezfr) writes an X article for vibe coders on budget alerts, stop conditions for paid paths, automatic pausing, and letting a personal agent verify and pause.