Backend Developer

Case File: All or Nothing

A driver payout moves money in several steps, and the server stopped halfway: money left one account and never arrived. Write the batch runner as a transaction on a copy: unknown accounts and insufficient funds roll the whole batch back, a good batch commits, and the total money stays the same. Run it on batches you cannot see. The accounts and batches are generated for you alone.

50 min

Case File: All or Nothing

A driver payout moves money in several steps, and the server stopped halfway: money left one account and never arrived. Write the batch runner as a transaction on a copy: unknown accounts and insufficient funds roll the whole batch back, a good batch commits, and the total money stays the same. Run it on batches you cannot see. The accounts and batches are generated for you alone.

In this lesson:

  • transactions
  • acid
  • databases
  • python
  • atomicity
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans