The Real Fullstack

The Black Friday Collapse

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

Arquiteto20 minLaboratório de performanceSimulador de fluxoLaboratório de depuração
angularspring-bootpostgresqlkuberneteshikaricp

Este desafio ainda não foi traduzido para Português (Brasil). Você está lendo a versão em inglês.

Missão: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.Contexto · Objetivos de aprendizagem ▾

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.

Missão: 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.

Objetivos de aprendizagem

  • 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.
SimulaçãoSimulado
SPACheckout APIConnection poolsPostgreSQL
Executar simulação

Execute a simulação para ver a saída.

Simplificação

Steady-state queueing over a three-tier chain; each role's objective is measured on its own tier. Modelo educacional — os números ilustram comportamento, não são benchmarks.

Conceitos

Útil antes deste

Desafios relacionados

Referências