Simulation lab for evaluating edge failure scenarios and fallback policy tradeoffs.
- Scenario injection:
packet_lossregional_outageretry_storm
- Fallback policies:
fail_opennearest_healthycache_prefer
- SLO-style outputs:
- success rate
- p95 latency
- estimated cost
- SLO violations
- Markdown report generator and runnable scenario example
npm install
npm test
npm run build
npm run dev:examplesrc/scenarios.ts: scenario application to regional statesrc/engine.ts: request simulation and policy comparisonsrc/report.ts: markdown reportingexamples/run-scenarios.ts: end-to-end sample run
- Shows reliability engineering thinking with measurable outcomes.
- Makes tradeoffs explicit instead of hand-wavy architecture claims.
- Easy to demo in interview: run one command, compare policies.
- Seeded deterministic RNG for reproducible benchmark runs
- Add visualization dashboard for policy comparison history
- Add strategy plugin API for custom routing algorithms