Cache Read and Cache Write nodes configuration

This documentation describes how to configure the Cache Read node and the Cache Write node.

When a Cache Read or Cache Write node scope is set to Cache, Redis is used as an external cache to store the key/value pairs. In this case, the following are applicable:

<install_dir>/tx-rest.properties file or environment variables are used to configure the cache.

<install_dir>/tx-rest.properties file:

redis.host=localhost - defines the redis server hostname.

redis.port=6379 – defines the redis server port.

Environment variables can be used to override the settings from tx-rest.properties file:

DTX_CACHE_TYPE=External

DTX_CACHE_HOST=hip-server-redis

DTX_CACHE_PORT=6379

By default, the Cache is enabled, and it uses the local Redis server installed with the product.