Understanding transaction isolation levels
Up until now, you have seen how to handle locking, as well as some basic concurrency. In this section, you will learn about transaction isolation. To me, this is one of the most neglected topics in modern software development. Only a small fraction of software developers are actually aware of this issue, which, in turn, leads to mind-boggling bugs.
Here is an example of what can happen:
Transaction 1 |
Transaction 2 |
|
|
|
|
User will see |
|
|
|
|
|
User will see |
...