16 · 8 lessons

Reliable Python

Idempotency, expiry, batching, safe logs, stable identifiers, schema upgrades and database transactions.

Progress and your code are kept in this browser only.

  1. 1Make retry delays predictable and bounded
  2. 2Apply a repeated event only once
  3. 3Batch an iterator without losing the tail
  4. 4Expire cached values using an injected clock
  5. 5Redact nested data without mutating it
  6. 6Hash a stable representation of data
  7. 7Upgrade saved records without losing fields
  8. 8Make a transfer all-or-nothing