|< < 17 > >|

Concurrency

What could go wrong?

  • A database like this has to support thousands of simultaneous users.

  • Correctness is easy, if each user does his or her work in isolation: with nobody else reading from or writing to the database at the same time.

  • But that would result in long delays.

  • So operations must be done concurrently.

  • And then we have to worry about interactions betwen those operations.

|< < 17 > >|