Durable Executions, defined
A crash? An interruption.
A sleep? An interruption.
Same suspension. Same resumption. Same solution.
The full definition: 12 words.
The minimal implementation: 50 lines.
journal.resonatehq.io/p/durable-ex...
03.12.2025 15:35 β π 0 π 0 π¬ 0 π 0
See the Write Last, Read First rule in action, in Lisbon, today at 6:00pm
Join Matklad and me for an evening of systems engineering
luma.com/7d47f4et
03.12.2025 15:05 β π 0 π 0 π¬ 0 π 0
Durable Executions, defined
Every durable execution framework: write normal code, get fault tolerance. Yet nobody defines what normal code or fault tolerance are
The alternative: a rigorous definition, grounded in first principles, and a minimal implementation
Dropping today
03.12.2025 10:35 β π 2 π 1 π¬ 0 π 1
In distributed systems, you can never know "what is", you can only know "what was"
Even in consensus, you never know the current value, you only know the value at an offset in the log
Every decision is made on a stale understanding of the world
02.12.2025 08:20 β π 7 π 1 π¬ 1 π 0
Resonate's Distributed Async Await doesn't add events, event types, event logs, or complex replay machinery.
Resonate makes promises durable. That's it.
01.12.2025 16:50 β π 0 π 0 π¬ 0 π 0
Distributed Async Await, @resonatehqio.bsky.social Durable Executions framework, rests on one mechanic:
skip-when-done
- Checkpoint before the function starts
- Checkpoint after the function returns
- On restart, skip what's done
Everything else follows from there
Dead simple
01.12.2025 11:45 β π 1 π 0 π¬ 0 π 1
Join Matklad and me in Lisbon next week for an evening of systems engineering with @tigerbeetle.com and @resonatehqio.bsky.social
I will talk about Write Last, Read First: How to keep systems consistent without transactions
bsky.app/profile/tige...
28.11.2025 10:20 β π 2 π 1 π¬ 0 π 0
Dijkstra argued against unconstrained goto, not goto itself:
The unbridled use of goto statements makes it terribly hard to find a meaningful set of coordinates in which to describe the process progress
Unconstrained Event-Driven Architecture is distributed goto
26.11.2025 13:12 β π 1 π 0 π¬ 0 π 0
Today's GoTo is Event-Driven Architecture
(Read first. Yell later)
25.11.2025 14:32 β π 1 π 0 π¬ 1 π 1
Why your code should crash more
Assertions seem extreme: they don't throw exceptions, they crash the process. Yet continuing after a violation is worse than crashing.
Shut it down. Enable assertions in production
dtornow.substack.com/p/assert-in-...
24.11.2025 15:00 β π 2 π 1 π¬ 0 π 0
π Blogged: "Building a Durable Execution Engine With SQLite"
Exploring the fundamentals of DE, based on a minimal engine built from scratch, using #SQLite as an execution log, and modern #Java (π virtual threads).
πhttps://www.morling.dev/blog/building-durable-execution-engine-with-sqlite/
20.11.2025 14:12 β π 35 π 9 π¬ 1 π 3
The Distributed Async Await protocol builds on two (abstract) primitives:
Execute until Blocked
Make progress by taking one incremental step
Send
Communicate by sending one message
Enabling any durability model on any transport
16.11.2025 15:00 β π 2 π 0 π¬ 0 π 0
When durable and ephemeral timelines collide
What happens when your agent crashes while the LLM is streaming tokens to the user?!
Chapter 4: Lifetime Management in Agentic Systems
15.11.2025 12:45 β π 1 π 0 π¬ 0 π 0
Mastering Continuations = Mastering Control Flow
A good starting point to understand continuations and programming with continuations is
Control structures in programming languages: from goto to algebraic effects
by Xavier Leroy
12.11.2025 21:01 β π 4 π 0 π¬ 0 π 0
Orchestration vs Choreography
Forget the clumsy analogies
Orchestration
The platform manages the continuation
Choreography
The application manages the continuation
Everything else is noise
12.11.2025 16:35 β π 1 π 0 π¬ 0 π 1
The Write Last, Read First Rule
How to guarantee strict serializability across database systems
A special guest post from @dominiktornow.bsky.social
tigerbeetle.com/blog/2025-11...
06.11.2025 12:00 β π 2 π 1 π¬ 0 π 0
Partial Failure & Partial Retry
RPCs create recovery boundaries: When an execution crashes, only the executions within its recovery boundaries restart
Executions in different recovery boundaries (across RPCs) continue running.
05.11.2025 18:10 β π 1 π 0 π¬ 0 π 0
Partial Failure but Total Retry?!
If we follow the familiar model of chained HTTP calls then a failure in the chain forces a restart from the failure point
This works for short-lived, cheap executions, but collapses under long-lived, expensive ones
05.11.2025 14:30 β π 0 π 0 π¬ 0 π 1
From the terminal to the cloud, from prototype to production
Learn how agents scale beyond a single machine and master identity, coordination, and recovery
Build a recursive, distributed Deep Research Agent with @resonatehqio.bsky.social + OpenAIβin under 120 lines
Chapter 3 is live
03.11.2025 09:10 β π 0 π 0 π¬ 0 π 1
A Promise doesnβt just represent eventual completion
A Promise also represents eventual invocation
We just tend to forget the latter
02.11.2025 15:28 β π 0 π 0 π¬ 0 π 0
I'm experimenting with animations for the 3rd chapter of Systems Engineering for Agentic Applications
This shows the call graph of the recursive, distributed Research Agent unfolding over time, highlighting durable promises
I dig the result but they are a lot of work π₯²
01.11.2025 19:20 β π 0 π 0 π¬ 0 π 0
Weekend Treat ... sorry ... Read π
Formal models are magic. Not only as a verification tool but as a thinking tool, lifting the fog of uncertainty and assumption
Their magic lies in rigorous, ruthless, relentless clarity
01.11.2025 10:16 β π 2 π 0 π¬ 0 π 0
Two sentences explain I/O better than any CS course
If an expression yields an effect, it percolates through the program to the top, with the context stored as a continuation. An external authority handles the effect and passes the result back to the continuation.
30.10.2025 09:55 β π 1 π 0 π¬ 0 π 0
Uncertainty, formalized: Possible Worlds
The fewer worlds an agent considers possible, the less his uncertainty, and the more he knows
In Reasoning about Knowledge
24.10.2025 10:18 β π 0 π 0 π¬ 0 π 0
Trampolined Style
If you want to understand Event Loops, you need to read this paper from 1999:
A trampolined program is organized as a single loop in which computations are scheduled and allowed to proceed in discrete steps.
Grokking Event Loops = Grokking Continuations
23.10.2025 14:00 β π 2 π 0 π¬ 0 π 0
Join me in 30 min. I'll be in the live chat
22.10.2025 17:50 β π 5 π 1 π¬ 0 π 0
Building a recursive, distributed Deep Research Agent, scaling to hundreds of agents across dozens of nodes
Chapter 3 covers:
β‘οΈ Agent Identity
β‘οΈ Coordination
β‘οΈ Recovery
When agents leave the terminal, you need to become a distributed systems engineer
22.10.2025 16:02 β π 0 π 0 π¬ 0 π 0
Roll up your newspapers, weβre squashing Heisenbugs with Deterministic Simulation Testing ποΈ
Join my talk tomorrow 11/22, 11:20 AM PDT
I'll be in the live chat for Q&A
Sign up below β¬οΈ
21.10.2025 19:25 β π 3 π 0 π¬ 0 π 0
T-2d
20.10.2025 20:00 β π 3 π 0 π¬ 0 π 0
Run your app for minutes, hours, days, weeks, or month
On FaaS like AWS Lambda or GCP Functions
Serverless @resonatehqio.bsky.social
20.10.2025 13:30 β π 0 π 0 π¬ 0 π 0
VP of Community @ Zig Software Foundation β’ Zig Livecoding http://twitch.tv/kristoff_it β’ Creator of http://softwareyoucan.love β’ Blogging http://kristoff.it β’ Host of https://zig.show β’ π§ loris@sycl.it
Formal methods, software history, chocolatiering. DMs open and happy to meet up in Chicago. Currently writing *Logic for Programmers* (out Q1 2026)
Newsletter: https://buttondown.email/hillelwayne/
Creator, Founder and CEO of @tigerbeetle.com β the financial transactions database designed for mission critical safety and performance.
The financial transactions database designed to power the next 30 years of online transaction processing.
CEO @ feldera.com, the incremental compute engine for AI, ML and data teams.
Formerly a systems researcher in distributed systems, databases, cloud, OS, PL, and networking. Sci-fi and gaming nerd.
lalith.in/research
Founder polarsignals.com π§ βοΈ Building parca.dev, Prometheus maintainer. Distributed systems, databases, and performance engineering. Actually born in Berlin. (he/him)
Student of complex systems failures, resilience engineering, cognitive systems engineering. Will talk your ear off about @resilienceinsoftware.org
Independent I guess these days you'd say content producer, artist, programmer, musician, pokerist. More about me at https://KentBeck.com.
Technical content expert, author, educator, people manager, and software dev. He/Him. http://bphogan.dev
Software engineer. Building things for lego.com. Distributed systems, serverless, event saucing.
Wrote Serverless Development on AWS (OβReilly)
https://lukehedger.dev/
π London
Associate Professor at Department of Mathematics and Computer Science and Head of Big Data & Compute Continuum Lab at University of Ferrara, Italy.
βLife is Study!β; Swift Actors, Concurrency & Distributed Systems @ ο£Ώ Previously: Reactive Streams (TCK), @akkateam Actors, HTTP & Streams, @geecon Conference, Java Champion. he/him.
Infra & devtools investor @ GC. Obsessed with unblocking developers at scale.
Exploring technology from first principles. Building SQLSync, real-time collaborative SQLite in the browser.
https://sqlsync.dev
Mastodon: @f0a@discuss.systems
X: @carlsverre
cofounder @ convex.dev. easily nerd sniped and okay with it.
Co-founder @dbos.dev β’ Stanford CS PhD
Co-organizer @southbaysystems.xyz
Working on π Database + Systems + AI
Amateur bird watcher π¦
Personal site: qianli.dev
She/her.
Distributed and Storage Systems. Apache Cassandra Committer and PMC member. Author of Database Internals. Mountain person. http://databass.dev/