Intermediate · 30 min · 5 steps

Stopping our own program from hammering a bank that is down

Divya Krishnan, Principal Integration Engineer at OmniPay Financial

It is 2:15 PM on a busy Friday. Divya Krishnan, an integration engineer at OmniPay Financial, gets an urgent message from the Head of Banking Partnerships. OmniPay moves payments for shops and matches them against bank records.

The question

How can a small Python class stop us calling a failing API again and again, and let us test it gently until it comes back?

  • Circuit breaker
  • State machine
  • Resilience
  • API ingestion

The rest of this case study is locked

The data, every step with its code and result, and the final answer open with a pass. A few case studies stay free so you can see how they work.