Book Image

Infinispan data grid platform definitive guide

Book Image

Infinispan data grid platform definitive guide

Overview of this book

Table of Contents (20 chapters)
Infinispan Data Grid Platform Definitive Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Understanding Transactions and Concurrency

In the previous chapter, we introduced the Ticket Monster application to learn about JBoss Developer Framework and JBoss-related technology. We added some requirements in order to analyze how Infinispan can be used to improve scalability.

In this chapter, we will talk about transactions and how you can work with transactions with Infinispan. We'll discuss the following topics:

  • Transaction fundamentals

  • Java Transaction API

  • Transaction models

  • Locking and concurrency control

Designing your cache application and the transaction configuration that connects your application to a data store for optimal performance isn't easy. This chapter will help you identify the best concurrency model and help you determine how to better manage your transactions.

To begin with, we are going to be cover the basic concepts required to understand how Infinispan is structured and how applications can use it.