01 / SYSTEMS · DISCRETE-EVENT PHYSICS
Causality.
Increase sample traffic and find which service becomes a bottleneck.
Follow one request
| Service | Wait | Work | Outcome |
|---|---|---|---|
| Gateway | 0.0 ms | 17.0 ms | Completed |
| Context | 0.0 ms | 82.2 ms | Completed |
| Planner | 0.0 ms | 163.1 ms | Completed |
| Tool runner | 0.0 ms | 98.2 ms | Completed |
| Verifier | 0.0 ms | 60.5 ms | Completed |
| Evidence | 0.0 ms | 29.3 ms | Completed |
Bring your own architecture
Edit this small model or paste an exported architecture object. All branches are required; a join waits for every parent.
Why the replay is reproducible
A time-ordered event queue schedules arrivals and service completions. Each request and service gets the same seeded timing sample when you change a worker count. Parallel branches join explicitly. Faults fail calls whose service intervals overlap the outage. Queued work already reserved may still consume capacity. There are no retries, caching, network transit delays, or production rate limits in this model. Failed request latencies are excluded from p95 and reported through the success rate.
The design draws on deterministic event scheduling and simulation-based systems testing. This is a rehearsal, not a forecast of your production system.
The person behind the project
A note from Luis.
I like drawing software dependencies as clearly as a structural load path. This experiment turns a service diagram into a repeatable queue simulation, so a proposed improvement has something concrete to be compared against.
Who it helps
Engineers exploring a service bottleneck before changing capacity.
Try this
Increase the request rate, replay the scenario, and inspect which queue grows before adding workers.
Start with the lost-response example