Offline Concurrency Patterns

Arkadiusz Kondas

Imaging the situation where you have an flight ticket booking system where you can edit available seats. Then think what if two people are are editing the same flight. Both introduce changes simultaneously but which ones will be saved? What if one saves over the other data? These are concurrency issues.

I will present a few patterns that represent the technique of controlling concurrent work in situations where it is necessary to apply more than one system transaction.