Skip to Content
Patterns of Enterprise Application Architecture
book

Patterns of Enterprise Application Architecture

by Martin Fowler
November 2002
Intermediate to advanced
560 pages
16h 4m
English
Addison-Wesley Professional
Content preview from Patterns of Enterprise Application Architecture

Chapter 16. Offline Concurrency Patterns

Optimistic Offline Lock

by David Rice

Prevents conflicts between concurrent business transactions by detecting a conflict and rolling back the transaction.

Image

 

Often a business transaction executes across a series of system transactions. Once outside the confines of a single system transaction, we can’t depend on our database manager alone to ensure that the business transaction will leave the record data in a consistent state. Data integrity is at risk once two sessions begin to work on the same records and lost updates are quite possible. Also, with one session editing data that another is reading an inconsistent ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices Patterns

Microservices Patterns

Chris Richardson
Mastering API Architecture

Mastering API Architecture

James Gough, Daniel Bryant, Matthew Auburn
Developing Apps with GPT-4 and ChatGPT

Developing Apps with GPT-4 and ChatGPT

Olivier Caelen, Marie-Alice Blete

Publisher Resources

ISBN: 0321127420