Turmoil, a framework for developing and testing distributed systems

Turmoil, a new framework for developing and testing distributed systems, has been released. Testing distributed systems can be challenging due to non-determinism in various factors such as the network, time, and threads. This makes it difficult to achieve reproducible results and slows down development. Turmoil aims to address these issues by simulating hosts, time, and the network, allowing for a distributed system to run within a single process and achieve deterministic execution. The framework also provides control over the network, enabling the manipulation of messages between hosts. To use turmoil, add the crate to your Cargo.toml file and define a module for networking types. The crate is still experimental, and feedback from users is encouraged to guide its development.


To top