The Real Fullstack

The Retry Avalanche

Inventory lost a third of its capacity for ten minutes. Why did it receive sixty times its normal traffic?

Engenheiro sênior10 minLaboratório de performanceSimulador de fluxo
javaspring-bootresilience4jkuberneteshttp

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

Missão:Inject the slowdown to watch the avalanche, then keep retries for transient errors while limiting the extra load they create.Contexto · Objetivos de aprendizagem ▾

Brightcart's mobile apps call a gateway, which calls the order service, which calls inventory. Each layer was configured independently to retry 3 times on errors. During a short inventory slowdown, error rates went to 100% and stayed there long after inventory recovered.

Missão: Inject the slowdown to watch the avalanche, then keep retries for transient errors while limiting the extra load they create.

Objetivos de aprendizagem

  • Explain multiplicative retry amplification across layers.
  • Retry at one layer, with exponential backoff and jitter.
  • Cap retries with a retry budget.
SimulaçãoSimulado
Mobile appsGatewayOrder serviceInventory
Executar simulação

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

Simplificação

Steady-state model; backoff and jitter are not simulated numerically — they matter for recovery dynamics, but a budget is what bounds load. Modelo educacional — os números ilustram comportamento, não são benchmarks.

Conceitos

Útil antes deste

Desafios relacionados

Referências