Summary
In this chapter, we discussed several different topics that address architectural concerns, all of which are important topics. Using transactions, you can ensure that the data in your unit of work is persisted correctly, and you can tighten the concurrency boundaries by setting the appropriate parameters, such as isolation levels and database locks. We also discussed compensating transactions to implement the undo functionality, and we covered using custom user locks to offer application users more control over the data.
We showed what to watch for when your application is deployed in a clustered environment and also how to implement an application using multiple database shards. Even though, throughout this book, we have discussed performance ...
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.
Read now
Unlock full access