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
Data access patterns
Infinispan can play a vital role in maximizing performance; however, while the nature of caching depends on your applications' ...
Get Infinispan Data Grid Platform Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.