GOAT EngineerPreparing your learning space…

Practice problems · Topic

Consistency problems

Covers strong and eventual, read-your-writes, isolation levels, CAP and PACELC.

Consistency problems are about what two places believe at the same moment. A write saved in one system and missing from another, a read from a copy that is behind, and a standby that sells what its source already sold are all the same question: which place decides, and how do the others hear about it.

Problems that need consistency

  1. Read-Heavy API Design: Practice Problem

    Design the read path for an API that is mostly reads, then run it against spikes and a cold start. Practise cache-aside, read replicas and hot keys.

  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.

  3. Ticket Holds That Expire: Practice Problem

    Hold a ticket while the buyer pays and release it when they walk away, without selling one twice while a store is down. Practise atomic claims.

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