Options for Configuring the Cache and Data Regions
To populate your Apache Geode cache and fine-tune its storage and distribution behavior, you need to define cached data regions and provide custom configuration for the cache and regions.
- 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 Apache Geode 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
gemfire.propertiessetting. This file is generally referred to as the
cache.xmlfile, but it can have any name. See cache.xml.
Through application calls to the