Jordan Calderwood
I wrote Soda, a web framework for Rust, then built hard things on it and measured them. Each layer here is a live project, as thick as its commits, the newest on top.
Explanation
- Soda itself
- Soda, on a server
- Soda, local-first
- SpacetimeDB
- A rewrite
- 50 commits to a bar of the scale
Soda
A web framework for Rust and Datastar that keeps every change as an event. The same app can run on a server, local-first in each person's browser, or be drawn ahead of time into files, the way this page is.
Open sodakit.devLaid down 12 Oct to 27 Nov 2026, in 392 commits. Soda itself.
Measured
- 111,001 changes a second kept by the log alone, every one synced to disk before it's acknowledged, with a 99th percentile of 17 ms.
- 257 ms to be serving again after the plug is pulled, with 14,975 of 14,975 acknowledged changes still there.
- 7 ms median to confirm a change in its reference app, against 49 ms for Rocicorp's zbugs measured the same way.
- 1,000 simulated lives run fresh every night. In about a third of them, one member works against everyone else.
- 4,770,728 states explored by the model checker in ten steps, with nothing broken in any of them.
Figures from Soda's README, docs/demo.md and docs/roadmap.md.
Made of
Rust, WebAssembly, Datastar, SQLite or Postgres, Tailwind through design tokens.
How it works
An app is its events, the commands that ask for them, a decide that turns a command into events, and an evolve that folds events into state. Nothing is ever migrated, because state is rebuilt from the log. History can be ridden back to any moment, and each person's undo is itself a stored change.
Every open page holds one stream. When anything changes, the backend draws the page again and Datastar morphs in what differs, so a kanban board's 171 kB drawing travels as about 1 kB.
Known fault
The repository is private and nothing is on crates.io yet. So far its author is the only person building with it.
Try it: a log, and the board folded from it
A toy in your browser, not Soda itself. Every press appends an event, and the board is only ever what you get by reading the events in order. Undo is an event too.
The log
CardAddedMeasure itCardAddedPull the plugCardMovedMeasure it, to Doing
The board now
To do
- Pull the plug
Doing
- Measure it
Done
Fizz
Play-money prediction markets for a team. Everyone starts with 1,000 points, trades YES or NO at a price from 1 to 99, and a share that called it right pays 100.
Open fizz.jordancalderwood.comLaid down 26 Nov to 27 Nov 2026, in 18 commits. Soda, on a server.
Measured
- 4,278 orders kept a second from 1,024 people on 32 floors, on 8 CPUs. Half waited 97 ms, and none failed.
- 36 s after a deploy began onto an empty disk, the books of all 194 floors checked were the same to the point: 699,584 orders and 366,624 trades.
- 200 simulated lives of 300 steps each, people doing anything in any order, check that the laws hold.
Figures from Fizz's README.
Made of
Rust, Soda on a server, Soda's log of facts, DuckLake, one Fly.io machine.
How it works
Each trading floor is its own event-sourced model on Soda's log of facts, with seven kinds of event and one kind of order: a limit buy. Selling is buying the other side, so YES at 62 meets NO at 38. Before any change is kept, the model's laws are checked against it, the first being that points are never made or lost.
The log is copied to a bucket as it's written, and the numbers page asks a lake of it questions in SQL. Destroying the machine and its disk is a rehearsed drill.
Known fault
A few page reads in the minutes after a deploy got no answer within 20 seconds (5 of about 780), and why isn't known yet.
Squash the Debt
The U.S. federal debt drawn as one sheet of banknotes, a note for every dollar, in the order it was borrowed. Click a dollar to squash it, and everyone watching sees it go.
Open squashthedebt.comLaid down 20 Oct to 27 Nov 2026, in 36 commits. Soda, on a server.
Measured
- 0.22 ms of one M4 core a second for someone squashing, and about 160 kB of memory a page.
- €9 a month at most, plus $0.94 for the domain, whatever traffic comes.
- 115 ms to answer from across the Atlantic, 110 of it the distance, with 2,000 people squashing 1,000 dollars a second on a €6.99 server.
- $75,908 a second is how fast the debt's edge moves across the sheet, at the past year's pace.
Figures from Squash the Debt's docs/costs.md and docs/plan.md.
Made of
Rust, Soda on a server, Treasury's fiscal data, one Hetzner Arm server, Caddy.
How it works
The sheet has room for $50 trillion in rows of $10 million, which no browser could hold as elements. So the notes nobody has touched are a single repeating background picture, and only squashed dollars become elements. A page subscribes to just the regions it is showing, so the server's work grows with the people on it and never with the size of the sheet.
Spending is capped in code. When the day's bytes are used up, the server rests until midnight UTC, which is how the bill stays the same whatever comes.
Known fault
When a day's bytes are spent, the sheet is closed until midnight UTC. That is the design, and it is also the limit.
Since you opened this page, the debt's edge has moved $75,908 a second across the sheet.
A Trillion Checkboxes
A board of a trillion checkboxes, a million a side, that anyone can check in one of 14 colors, with every check live for everyone.
Open trillion.jordancalderwood.comLaid down 20 Oct to 27 Nov 2026, in 14 commits. Soda, on a server.
Measured
- 43 bytes for a check far from any other. It was 764 before the board became a persistent B-tree.
- 0% of the view blank when flung at 20,000 pixels a second, in Chromium, Firefox and Safari. One Billion Checkboxes, the page it set out to beat, showed 97.5% blank at that speed.
- $15.04 a month at most for traffic from North America and Europe, on one shared-CPU machine.
Figures from A Trillion Checkboxes' docs/plan.md.
Made of
Rust, Soda on a server, SQLite on a volume, one Fly.io machine.
How it works
A board that size is 32 million pixels wide, more than any browser will lay out. So the page scrolls natively over a frame of the board about a million pixels a side. When the view nears the frame's edge the frame jumps, and the scroll position moves back by the same amount in the same frame, so nothing on screen moves. Empty boxes are a repeated background, and only checked boxes are elements.
On the server the board is a persistent B-tree of 16 by 16 chunks rebuilt from events. A box has 15 states, so a chunk is 128 bytes.
Known fault
The board holds at most 20 million chunks in memory. Past that, a box can only be checked in a chunk that already has one.
Try it: scroll a board a million boxes wide
A toy in your browser, working the way the real one does. The empty boxes are one background picture, only checked boxes are elements, and the frame jumps back under you as you near its edge. Click to check a box, and scroll as far as you like.
Box 500,000 across, 500,000 down0 elements for 1,000,000,000,000 boxes
Soda IR
An incident war room for the day email, chat and single sign-on are the things that are down: the runbook, the call tree, the incident room and the regulators' clocks, on every responder's phone.
Open ir.jordancalderwood.comLaid down 15 Oct to 23 Oct 2026, in 46 commits. Soda, local-first.
Measured
- 4 days is the SEC's clock for Form 8-K Item 1.05, counted in U.S. business days to 5:30 p.m. Eastern with holidays. GDPR's 72 hours, NIS2 and DORA's 4 hours run beside it.
- 2 to 7 executives can each hold a share of the organization's key, on printed cards.
Figures from Soda IR's README and docs/PRODUCT.md.
Made of
Rust in a service worker, Soda local-first, Ed25519 signatures, Vercel.
How it works
It runs in each responder's browser, so it keeps working with the network unplugged, and a test proves that on every build. The relay between devices holds only ciphertext. The timeline exports as the exact entries each device signed, each with its hash and Ed25519 signature, chained, for counsel and the insurer.
Known fault
It is a product concept. The pricing is a proposal and it has no customers yet.
Care
One binder for a family looking after someone: medicines and who gave them, appointments, tasks, a journal, papers and money.
Open care.jordancalderwood.comLaid down 12 Oct to 23 Oct 2026, in 110 commits. Soda, local-first.
Measured
- 48 KB rows are what a photo is cut into, each photo sealed with a key of its own.
- 160 common medicines can be found by name without the search leaving the device.
Figures from Care's README and Soda's docs/launch-readiness.md.
Made of
Rust in a service worker, Soda local-first, passkeys, Neon Postgres as the relay, Vercel.
How it works
The backend is Rust compiled to WebAssembly, running in each person's browser. Every change is signed on the device and sealed with the circle's key before it leaves, so the store that relays it only ever sees ciphertext. The money log has a key of its own, so a paid caregiver in the circle can't read it.
Medicine search ships with the app, so nothing about what someone takes leaves the device. A script checks that the live site serves exactly this source, and runs after every push.
Known fault
Its October audit asked whether it could be opened to strangers and stay safe from abuse. The answer was: not yet.
Try it: write an entry, and see what a store is handed
A toy in your browser, not Care itself. What you type is sealed here with a key made in this page (AES-GCM, from your browser's own crypto), and the right side is all a relay would hold. Nothing is sent anywhere.
On the device
What the store holds
Sealed in your browser, once scripts are on.
Kanban
A private, collaborative kanban board whose backend runs in your own browser. It is Soda's reference app, the one the engine's tests run against.
Open kanban.jordancalderwood.comLaid down 11 Oct to 23 Oct 2026, in 83 commits. Soda, local-first.
Measured
- 20 ms for a change to reach another member directly, instead of about 100 ms through the store.
- 2 engines Chrome's and Safari's, play two people in its end-to-end tests.
Figures from Kanban's README and Soda's README.
Made of
Rust in a service worker, Soda local-first, WebRTC, Neon Postgres as the relay, Vercel.
How it works
When two members have the same board open, their pages connect directly over WebRTC and trade changes in about 20 ms, instead of about 100 through the store, which still receives everything, sealed. Identity is a key event log with passkeys, and merges are ordered by a hybrid clock. The same commit builds byte for byte on any x86-64 Linux machine, so anyone can check that the site serves its source.
Known fault
The store is a relay and not an archive: its history rows go after 180 days.
Try it: two people, and the line between them cut
A toy in your browser, not Kanban itself. Each side keeps its own log and works without the other. Cut the line, change both sides, then join it again: they trade what the other is missing and fold to the same board, every change in its clock's order. Press a card to mark it done.
Ann's browser
- Draft the page
- Ship it
2 changes, all sent
Joined
Ben's browser
- Draft the page
- Ship it
2 changes, all sent
Bank Run!
A push-your-luck party dice game. A big screen shows the board, phones are the controllers, and there's an iOS app.
Open bankrun.appLaid down 7 Jun 2024 to 23 Oct 2026, in 123 commits across 3 versions. SpacetimeDB.
Measured
- 464 recorded games the Rust engine must replay exactly, state for state.
- 1 engine holds the rules for the web app, the big screen and the iOS app, which is SwiftUI over a Rust core.
Figures from Bank Run's README and its SpacetimeDB design spec.
Made of
Rust, SpacetimeDB, Next.js, SwiftUI over UniFFI, three.js with Rapier.
How it works
All gameplay, storage and sync live in one Rust module inside SpacetimeDB, a database that runs your code as its transactions and pushes table changes to clients over a socket. The rules exist only there: clients are sent flags saying what's allowed and run no game logic. Dice are rolled on the server, and undo moves a cursor over the event log.
This is the third version. Before the rewrite, 464 whole games were recorded from the old TypeScript engine, every state, verdict and award, and the Rust engine has to reproduce all of them.
Known fault
The version before this one held a Postgres connection open for every live player inside a five-minute serverless function. That is why there is a third.
Bank Run on Postgres 21 Apr to 25 Apr 2026, 46 commits. Next.js, Neon Postgres and server-sent events. Its TypeScript engine recorded the 464 games the third has to match.
Bank Run in Clojure 7 Jun to 22 Aug 2024, 39 commits. Electric Clojure, in 2024. It is still the reference for the rules.







