INTERMEDIATE · 12 MIN · FREE LESSON
CDN
Explore cdn through a visual, step-by-step model.
Loading interactive lesson…
INTERMEDIATE · 12 MIN · FREE LESSON
Explore cdn 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.
The edge-cache model serves hits before origin app/database work. A simulated origin-region outage still permits existing global edge hits; misses reject when the origin is unavailable. 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 regional warehouse can close while a nearby kiosk still serves items already on its shelf.
Let a global cached hit bypass the origin. Use the validated parameter controls or edit the JSON scenario, then select Load input to recompute the trace.
The edge-cache model serves hits before origin app/database work. A simulated origin-region outage still permits existing global edge hits; misses reject when the origin is unavailable.
Every visible outcome comes from the displayed state model. Timings, capacities and failures are illustrative assumptions, not cloud benchmarks or production-protocol guarantees.
Predict the next admission, delivery, cache, ownership or coordination decision. Introduce one failure at a time and account for every accepted, rejected, pending or committed outcome.
The player separates operation counters from architectural trade-offs. State size follows the active keys, tasks, nodes or retained history; the references use bounded scenarios. Container choices and presentation scans can affect simulator costs.
The four references implement the core model or its decision round. Queue/inbox and local ledger atomicity are explicit assumptions. Distributed deployment additionally needs durable shared state, complete protocol rules and operational validation. Reference inputs are fully validated/defaulted by the lesson; standalone callers must provide the shown fields.
Use for cacheable content near users, with explicit TTL, cache keys, invalidation and private-content policy.
This workload model assumes a target hit fraction and immutable cached responses. It does not implement an HTTP cache or authorize caching private paid content.
Justify the model’s decision and name one production concern outside its scope.
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.