deterministic simulation testing

A testing technique that runs a distributed system inside a deterministic simulator so that failures and timing are controlled and every bug can be reproduced.

1 articleLast mentioned

Deterministic simulation testing is a technique in which every external dependency of a system, such as the network, disks, clocks, and random number generators, is replaced by a simulator, so that running with the same seed always produces the same result. Multiple nodes and failure scenarios are then executed rapidly inside a single process. Any failing run can be reproduced exactly from its seed, which makes rare, nondeterministic concurrency bugs such as race conditions far easier to find and fix.

The distributed database FoundationDB popularized the approach, and systems such as TigerBeetle later adopted it. It is used to inject network partitions, latency changes, and node crashes at random while checking that the system's invariants continue to hold.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Pando: The Git Backend OpenAI Built for a 2,442% Surge in CommitsAI News ·

    …gents using Daybreak-capable models red-teamed the system continuously with deterministic simulation testing harnesses to surface race conditions before launch.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.