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 5. Data Access Patterns

In the previous chapter, we got an overview of the several cache topologies Infinispan provides.

This chapter will describe the key guidelines and design patterns we will need in order to design the data layer of an application. It will also describe how to configure Infinispan to use Hibernate second-level cache with Infinispan.

In this chapter, we will discuss the following topics:

  • Data access patterns

  • Understanding and configuring second-level cache in Hibernate with Infinispan

  • Implementing the cache-aside programming pattern

  • Reading and writing through cache

  • Writing behind cache