Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Index

A sitemap of every chapter in the Moonpool book. Each entry links to a chapter with a summary of what it covers.

Quick Start Routes

Part I: Why Simulation Testing

  • The Case for Simulation — Why distributed systems need simulation; the gap between localhost and production; failure statistics
  • Prevention vs Discovery — Two testing philosophies: regression (prevention) vs generative (discovery)
  • From Mocks to Simulation — Why mocks break at scale; the #[cfg(test)] trap; maintenance cost
  • A Brief History — FoundationDB simulator origins, TigerBeetle storage faults, Antithesis assertions
  • Why Moonpool Exists — Synthesizing ideas from FDB, TigerBeetle, and Antithesis into one framework

Part II: Foundations

Part III: Building Simulations

Part IV: Simulating Existing Applications

Part V: Networking and RPC

Part VI: Building on Top

Appendix

  • Assertion Reference — Complete table of 15 assertion macros with behavior and parameters
  • Crate Map — 8-crate workspace diagram and dependency hierarchy
  • Configuration Reference — SimulationBuilder methods, ChaosConfiguration, AttritionConfiguration, exploration
  • Fault Reference — Every fault by category with config fields and defaults
  • Glossary — Alphabetical definitions: adaptive forking, always assertion, attrition, buggify, coverage bitmap, etc.