This topic discusses options for configuring VMware Tanzu GemFire cache and data regions.

To populate your Tanzu GemFire cache and fine-tune its storage and distribution behavior, you must define cached data regions and provide custom configuration for the cache and regions.

Cache configuration properties define:

  • Cache-wide settings such as disk stores, communication timeouts, and settings designating the member as a server
  • Cache data regions

Configure the cache and its data regions through one or more of these methods:

  • Through a persistent configuration that you define when issuing commands that use the gfsh command line utility. The gfsh utility supports the administration, debugging, and deployment of VMware Tanzu GemFire processes and applications. You can use gfsh to configure regions, locators, servers, disk stores, event queues, and other objects.

    As you issue commands, gfsh saves a set of configurations that apply to the entire cluster and also saves configurations that only apply to defined groups of members within the cluster. You can re-use these configurations to create a cluster. See Overview of the Cluster Configuration Service.

  • Through declarations in the XML file named in the cache-xml-file gemfire.properties setting. This file is generally referred to as the cache.xml file, but it can have any name. See cache.xml.

  • Through application calls to the org.apache.geode.cache.CacheFactory, org.apache.geode.cache.Cache and org.apache.geode.cache.Region APIs.
check-circle-line exclamation-circle-line close-line
Scroll to top icon