BEGINNER · 12 MIN · FREE LESSON
How a request travels
Explore how a request travels through a visual, step-by-step model.
Loading interactive lesson…
BEGINNER · 12 MIN · FREE LESSON
Explore how a request travels through a visual, step-by-step model.
Loading interactive lesson…
Edit requests/second, replica count, per-replica CPU, cache hit target and a timed failure. One tick is one modeled second. Capacities and latency are illustrative model assumptions, not cloud benchmarks.
Loading architecture diagram…
Set explicit workload, capacity, failure-domain and queue assumptions.
Follow client ingress, load balancing, app processing, cache lookup and database completion. This throughput model abstracts DNS/TLS and transport details rather than pretending to simulate their packets. The simulator costs O(T·R) for T ticks and R offered requests per tick, using bounded FIFO queues. Results are deterministic workload-model outcomes, not production latency estimates.
Requests processed at the app tier, seed 42. Plotted sample sizes respect each lesson’s explicit input limits.
Keyboard: Space play/pause · ←/→ step · R restart · 1–5 speed. Reduced motion disables transitions.
A delivery passes through an address lookup, an entrance, a chosen worker and a data source.
Follow the request through explicit service boundaries. Use the parameter controls, then select Load input to rerun the deterministic model. Step backward to compare the pre-failure and post-failure state.
Follow client ingress, load balancing, app processing, cache lookup and database completion. This throughput model abstracts DNS/TLS and transport details rather than pretending to simulate their packets.
The diagram and counters are generated from actual state transitions under the shown assumptions. They are not measurements of a running cloud deployment.
Predict whether a request can finish, a read must wait, or an independence assumption holds. Change one parameter at a time and explain the resulting queue, response or probability.
The player separates the simulator’s operation costs from the modeled system capacity, coordination or availability equations. More replicas cannot remove a serial dependency or an unmodelled common failure.
The four references implement the core bounded workload or policy calculation. Traffic references conserve completed, queued and rejected requests; response-percentile reconstruction is a separate presentation concern. Register references expose delivery explicitly so a caller can model delayed messages and partitions. They are educational models, not production distributed protocols.
Use to identify service boundaries, where latency accumulates and which tier owns a failure.
A successful app hop is not the same as a successful database-backed response.
Use the model’s assumptions to justify each answer.
MAKE IT STICK
Progress saves on this device and merges with your account after sign-in.
0 / 5000 · Saved on this device; synced when signed in.