GOAT EngineerPreparing your learning space…

Practice problems · Category

Money & transactions problems

Correctness comes before speed.

A money problem is one where being wrong costs more than being slow. A timeout does not tell you whether a charge happened, and two writes to two systems are not one write, so these problems are about idempotency keys, the transactional outbox and readers that treat a repeat as harmless.

The money & transactions problems

  1. Retry a Payment Without Charging Twice

    A timeout does not say whether the charge happened. Retry it safely with idempotency keys, then test your design against a slow provider and hidden tests.

  2. Transactional Outbox: Practice Problem

    Save an order and tell Billing about it, even when the queue or Billing is down. Practise the transactional outbox, relays and harmless repeats.

By GOAT Engineer. Practice problems · Privacy Policy · Contact.