Skip to content

Learning Roadmap

Ten minutes from install to production policies.

  1. Install — pip install pico-resilience; nothing to wire (Getting Started).
  2. First retry — add @retryable(max_attempts=3) to a flaky call; watch the WARNING logs per attempt.
  3. Protect a dependency — @circuit_breaker on the partner API call; understand closed open half-open.
  4. Bound the tail — @timeout(2.0) on async lookups; learn why sync is rejected (FAQ).
  5. Combine — @retryable on top; see the chain rule in Architecture.
  6. Test — resilience.enabled: false in test config; assert your own logic, not the policies.