4.2.6 Caching Properties

You can enable caching to improve performance. It optimizes the read and write operations for the transaction logs that are stored in etcd or Oracle Database.

Property Description
enabled Enter true to enable local caching for the coordinator. You can set this to true only if you use etcd cluster or Oracle Database to store the transaction information. You can not enable caching if you use internal memory as the transaction store.
maxCapacity Enter a decimal value as the maximum storage capacity of the cache in GB. For example, 1.5. The default value is 1. Ensure that your environment has the required memory to support the maximum value that you enter.

When you enable caching, you must also enable session affinity for the coordinator. See Enable Session Affinity.

The following code snippet provides sample values for the caching property in the values.yaml file.

caching:
  enabled: true
  maxCapacity: 1.5