»Schedule // Talk
Friday, October 10, 2025
11:00–11:30
Side Stage

Random Seeds and State Machines: An Approach to Deterministic Simulation Testing

Have you spent sleepless nights thinking about that heisenbug in production that no matter what you try, you can’t reproduce? The solution is not a sleeping pill; it is attending this talk. Learn how random seeds and state machines can catch the most elusive bugs and restore your sleep.

Deterministic simulation testing (DST) is a method that explores as many random execution paths of a system as possible, injects random failures, and lets developers reproduce the exact same execution path on failure given an initial random seed. This testing approach shakes out many difficult to find bugs before they reach production and greatly increases developer confidence in system correctness when making new changes.

DST was first popularized by the FoundationDB team, and is slowly finding its way into the testing arsenal of many products like TigerBeetle, Resonate, and more recently, Turso’s rewrite of SQLLite in Rust. This talk will cover how we implemented DST of our distributed storage system at Polar Signals by modelling our core components as state machines and why this was the right choice for us over other approaches that use deterministic async runtimes (e.g. https://github.com/madsim-rs/madsim).

Come learn more about DST and how it can help you write better and more resilient software!

Speaker

Alfonso Subiotto

Alfonso is a software engineer with a deep focus on distributed systems and databases. After honing his skills on the SQL execution team at Cockroach Labs, he now contributes to the storage layer at Polar Signals, a continuous profiling solution. Alfonso’s current area of focus is ensuring correctness through deterministic simulation testing.

Get tickets