The Real Fullstack

The Black Friday Collapse

Everyone blames someone else's layer. Who is right? (All of them — partly.)

Architect20 minPerformance labFlow simulatorDebugging lab
angularspring-bootpostgresqlkuberneteshikaricp
Mission:Investigate the incident from each role's perspective, fix that role's root cause, then bring the whole platform to ≤ 1% errors and ≤ 300 ms latency at no more than 16 pods.Context · Learning objectives ▾

Brightcart's Black Friday campaign starts at 20:00. Within seconds checkout errors reach 90%. The SPA retries instantly, customers double-click, the API holds database connections during an HTTP call, a stock query lacks an index, and the autoscaler has added 16 pods that make everything worse.

Mission: Investigate the incident from each role's perspective, fix that role's root cause, then bring the whole platform to ≤ 1% errors and ≤ 300 ms latency at no more than 16 pods.

Learning objectives

  • Trace a cascading failure across frontend, backend, database and infrastructure.
  • Fix each layer's root cause rather than its symptom.
  • Verify the system-wide result — local fixes interact.
SimulationSimulated
SPACheckout APIConnection poolsPostgreSQL
Run simulation

Run the simulation to see output.

Simplification

Steady-state queueing over a three-tier chain; each role's objective is measured on its own tier. Educational model — numbers illustrate behaviour, they are not benchmarks.

Concepts

Helpful before this

Related challenges

References