Day 11 results: the lost update, and the fix

Measured on: (machine, OS, Python version)

Output

Paste part 1, part 2, part 3 and the scoreboard here.

One sentence per prediction

  • P1 (naive final balance):
  • P2 (naive lost updates):
  • P3 (atomic fix lost):
  • P4 (transaction fix lost):

The money that vanished

Correct total was 16,000. The naive version ended at __, so __ increments were lost. In one line, why did they vanish:

The fix, in my own words

What made the atomic UPDATE and the BEGIN IMMEDIATE version correct when the naive one was not:

Fix B was slower. By how much, and why:

Can’t explain yet