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.
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
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans