Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products

Table of contents

  1. Configuring Data Grid
  2. Red Hat Data Grid
    1. Data Grid documentation
    2. Data Grid downloads
    3. Making open source more inclusive
  3. 1. Data Grid Caches
    1. 1.1. Cache Interface
    2. 1.2. Cache Managers
    3. 1.3. Cache Containers
    4. 1.4. Cache Modes
      1. 1.4.1. Cache Mode Comparison
  4. 2. Local Caches
    1. 2.1. Simple Caches
  5. 3. Clustered Caches
    1. 3.1. Invalidation Mode
    2. 3.2. Replicated Caches
    3. 3.3. Distributed Caches
      1. 3.3.1. Read consistency
      2. 3.3.2. Key Ownership
        1. 3.3.2.1. Capacity Factors
      3. 3.3.3. Zero Capacity Node
      4. 3.3.4. Hashing Configuration
      5. 3.3.5. Initial cluster size
      6. 3.3.6. L1 Caching
      7. 3.3.7. Server Hinting
        1. 3.3.7.1. Configuration
      8. 3.3.8. Key affinity service
        1. 3.3.8.1. API
        2. 3.3.8.2. Lifecycle
        3. 3.3.8.3. Topology changes
        4. 3.3.8.4. The Grouping API
        5. 3.3.8.5. How does it work?
        6. 3.3.8.6. How do I use the grouping API?
        7. 3.3.8.7. Advanced Interface
    4. 3.4. Scattered Caches
    5. 3.5. Asynchronous Communication with Clustered Caches
      1. 3.5.1. Asynchronous Communications
      2. 3.5.2. Asynchronous API
      3. 3.5.3. Return Values in Asynchronous Communication
  6. 4. Configuring Data Grid Caches
    1. 4.1. Declarative Configuration
      1. 4.1.1. Cache Templates
      2. 4.1.2. Cache Configuration Wildcards
      3. 4.1.3. Multiple Configuration Files
    2. 4.2. Data Grid Configuration API
    3. 4.3. Configuring Caches Programmatically
  7. 5. Managing Memory
    1. 5.1. Configuring Eviction and Expiration
      1. 5.1.1. Eviction
        1. 5.1.1.1. Configuring the Total Number of Entries for Data Grid Caches
        2. 5.1.1.2. Configuring the Maximum Amount of Memory for Data Grid Caches
        3. 5.1.1.3. Eviction Examples
      2. 5.1.2. Expiration
        1. 5.1.2.1. How Expiration Works
        2. 5.1.2.2. Expiration Reaper
        3. 5.1.2.3. Maximum Idle and Clustered Caches
        4. 5.1.2.4. Expiration Examples
    2. 5.2. Off-Heap Memory
      1. 5.2.1. Using Off-Heap Memory
  8. 6. Configuring Statistics, Metrics, and JMX
    1. 6.1. Enabling Data Grid Statistics
    2. 6.2. Configuring Data Grid Metrics
      1. 6.2.1. Data Grid Metrics
    3. 6.3. Configuring Data Grid to Register JMX MBeans
      1. 6.3.1. Naming Multiple Cache Managers
      2. 6.3.2. Registering MBeans In Custom MBean Servers
      3. 6.3.3. Data Grid MBeans
  9. 7. Setting Up Persistent Storage
    1. 7.1. Data Grid Cache Stores
      1. 7.1.1. Configuring Cache Stores
      2. 7.1.2. Setting a Global Persistent Location for File-Based Cache Stores
      3. 7.1.3. Passivation
        1. 7.1.3.1. Passivation and Cache Stores
      4. 7.1.4. Cache Loaders and Transactional Caches
      5. 7.1.5. Segmented Cache Stores
      6. 7.1.6. Filesystem-Based Cache Stores
      7. 7.1.7. Write-Through
      8. 7.1.8. Write-Behind
    2. 7.2. Cache Store Implementations
      1. 7.2.1. Cluster Cache Loaders
      2. 7.2.2. Single File Cache Stores
      3. 7.2.3. JDBC String-Based Cache Stores
        1. 7.2.3.1. Connection Factories
        2. 7.2.3.2. JDBC String-Based Cache Store Configuration
      4. 7.2.4. JPA Cache Stores
        1. 7.2.4.1. JPA Cache Store Usage Example
      5. 7.2.5. Remote Cache Stores
      6. 7.2.6. RocksDB Cache Stores
      7. 7.2.7. Soft-Index File Stores
      8. 7.2.8. Implementing Custom Cache Stores
        1. 7.2.8.1. Data Grid Persistence SPI
        2. 7.2.8.2. Creating Cache Stores
        3. 7.2.8.3. Configuring Data Grid to Use Custom Stores
        4. 7.2.8.4. Deploying Custom Cache Stores
    3. 7.3. Migrating Between Cache Stores
      1. 7.3.1. Cache Store Migrator
      2. 7.3.2. Getting the Store Migrator
      3. 7.3.3. Configuring the Store Migrator
        1. 7.3.3.1. Store Migrator Properties
      4. 7.3.4. Migrating Cache Stores
  10. 8. Setting Up Partition Handling
    1. 8.1. Partition handling
      1. 8.1.1. Split brain
        1. 8.1.1.1. Split Strategies
          1. 8.1.1.1.1. ALLOW_READ_WRITES
          2. 8.1.1.1.2. DENY_READ_WRITES
          3. 8.1.1.1.3. ALLOW_READS
        2. 8.1.1.2. Current limitations
      2. 8.1.2. Successive nodes stopped
      3. 8.1.3. Conflict Manager
        1. 8.1.3.1. Detecting Conflicts
        2. 8.1.3.2. Merge Policies
      4. 8.1.4. Usage
      5. 8.1.5. Configuring partition handling
        1. 8.1.5.1. Implement a custom merge policy
        2. 8.1.5.2. Deploy custom merge policies to a Infinispan server instance
      6. 8.1.6. Monitoring and administration
  11. Legal Notice

Data Grid documentation

Documentation for Data Grid is available on the Red Hat customer portal.

  • Data Grid 8.2 Documentation
  • Data Grid 8.2 Component Details
  • Supported Configurations for Data Grid 8.2
  • Data Grid 8 Feature Support
  • Data Grid Deprecated Features and Functionality
  1. Previous
  2. Next
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
We've updated our Privacy Policy effective July 1st, 2023.
Red Hat Summit Red Hat Summit
Twitter