Skip to content
Theory · Transactions · lesson 4 of 11

Concurrency anomalies

Until now our transactions have run alone. In a real app hundreds of customers pay at the same time, and transactions run concurrently. Sometimes that gives a result no transaction would have produced if it had run by itself. Such failures are called anomalies.

In this lesson

  • Lost update
  • Non-repeatable read
  • Phantom read
  • Dirty read
  • Key points