Overview This project explores a fundamental problem in reliable systems engineering. Question: How do you test a system for failures you did not know to test for?
- Traditional testing is effective at validating known behavior and known failure cases. Unit tests, integration tests, race detection, and manually designed fault scenarios can verify many important properties, but they are ultimately constrained by the situations the engineer thought to test. This project takes a different approach: -First, it builds a small concurrent, stateful message system with explicit guarantees around ordering, acknowledgement, durability, replay, and recovery. The system is then subjected to increasingly adversarial forms of testing. Known failure modes are tested directly, while a deterministic simulation environment generates combinations of timing, network, storage, process, and concurrency behavior that were not manually encoded as individual test cases. Every discovered failure must be reproducible. The broader goal is not simply to build a reliable message system. It is to investigate how effectively different testing strategies expose failures in systems where correctness depends on interactions between concurrency, persistence, networking, and recovery.
The question: Can deterministic simulation discover correctness failures that conventional testing misses?