The Real Fullstack

The Black Friday Collapse

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

アーキテクト20 分パフォーマンスラボフローシミュレーターデバッグラボ
angularspring-bootpostgresqlkuberneteshikaricp

この課題はまだ日本語に翻訳されていません。英語版を表示しています。

ミッション: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.背景 · 学習目標 ▾

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.

ミッション: 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.

学習目標

  • 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.
シミュレーションシミュレーション値
SPACheckout APIConnection poolsPostgreSQL
シミュレーションを実行

シミュレーションを実行すると出力が表示されます。

簡略化

Steady-state queueing over a three-tier chain; each role's objective is measured on its own tier. 教育用モデルです。数値は挙動を示すためのもので、ベンチマークではありません。

コンセプト

先に取り組むと役立つ課題

関連する課題

参考資料