~/talk

Separate Protocol Logic from I/O for Deterministic Tests

Talkat Bug Bash Europe 2026 · on Wednesday, 2026-09-30· [testing, frontend-architecture]
slides:none on file

Separating protocol logic from I/O produces a pure state machine that accepts events and returns desired actions, enabling fast deterministic tests by driving a simulated environment. Implementation uses a traits-based interface, event heaps and virtual time to run a 2,000-node cluster simulation without threads, injects seeded randomness, and measures per-message latencies and delivery counts. The replacement for in-process sockets is a queued event loop that reproduces failures and reboots; protocol tests pass, but end-to-end integration still requires real I/O.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:21Challenges in testing distributed systems
  3. 3:49Protocol logic simplicity and goals
  4. 5:55Separating protocol logic from I/O
  5. 9:06Implementing the sans-IO pattern
  6. 11:32Testing with virtual time
  7. 14:39Simulating failures in tests
  8. 16:45Benefits and limitations
  9. 18:32Summary and sans-IO approach
~/search
type to search 6,853 conferences, 146,420 speakers and 195,625 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.