← Monday, October 12, 2026ArchitectureDeep dive

Celld uses deterministic simulation testing to reproduce distributed bugs

celld.dev 6 min read Editor score 7/10

Preview image for Celld uses deterministic simulation testing to reproduce distributed bugs

Celld’s simulator explores different orders of delayed messages, failed writes and node restarts to make distributed-system bugs reproducible; it has already found bugs, though the simulator is not public. The technique is useful for testing systems whose failures depend on event ordering.

What
Celld is a runtime for Cloudflare Workers and Durable Objects applications that uses deterministic simulation testing to explore distributed-system behavior.
How
A simulator controls production code, event order, task scheduling, time, and storage outcomes; the same code, settings, and seed reproduce the same run.
Why it matters
Controlling and replaying event sequences helps engineers expose and investigate bugs involving delayed messages, failed writes, and restarts.
controls uses responses stored data simulator production code SQLite database checker
The simulator controls production execution, while a checker tests outcomes and stored data against invariants. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.