Vlad Mihalcea
Vlad Mihalcea Twitter

From Red Hat

Vlad Mihalcea is Hibernate Developer Advocate working for Red Hat.

He is passionate about enterprise systems, data access frameworks and distributed systems.

He wrote over 80 articles about Hibernate on vladmihalcea.com, and he has a gold badge for the Hibernate tag on StackOverflow.

He's also the author of "High-Performance Java Persistence" (https://leanpub.com/high-performance-java-persistence).

Blog: https://plus.google.com/102351970868518518557

ssj Server Side

Transactions and Concurrency Control Patterns


Transactions and Concurrency Control are very of paramount importance when it comes to enterprise systems data integrity.

However, this topic is very tough since you have to understand the inner workings of the database system, its concurrency control design choices (e.g. 2PL, MVCC), transaction isolation levels and locking schemes.

In this presentation, I'm going to explain what data anomalies can happen depending on the transaction isolation level, with references to Oracle, SQL Server, PostgreSQL, and MySQL.

I will also demonstrate that database transactions are not enough, especially for multi-request web flows.

For this reason, I'm going to present multiple application-level transaction patterns based on both optimistic and pessimistic locking mechanisms.