-
Notifications
You must be signed in to change notification settings - Fork 0
Retry with Backoff
Joel Alvarez edited this page Jul 12, 2026
·
1 revision
Retry with Backoff reintenta operaciones fallidas con esperas crecientes entre intentos. El patrón ayuda a tolerar fallas temporales sin presionar más a una dependencia que ya está degradada.
- Reduce reintentos inmediatos contra servicios saturados.
- Diferencia errores transitorios de errores permanentes.
- Permite limitar intentos máximos.
- Puede agregar jitter para evitar que muchas instancias reintenten al mismo tiempo.
- Cliente HTTP simulado con backoff exponencial.
- Reintentos solo para errores transitorios.
- Jitter determinista para evitar reintentos sincronizados.
- Documentación local:
patterns/distributed_systems/retry_with_backoff/README.md - Módulo Rust:
src/patterns/distributed_systems/retry_with_backoff.rs - Ejemplo HTTP:
src/patterns/distributed_systems/retry_with_backoff/http_client.rs - Ejemplo de errores transitorios:
src/patterns/distributed_systems/retry_with_backoff/transient_errors.rs - Ejemplo de jitter determinista:
src/patterns/distributed_systems/retry_with_backoff/deterministic_jitter.rs