Configuring Cache Read and Cache Write nodes

Detailed description of 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>/config/config.yaml file or environment variables are used to configure the cache.

<install_dir>/config/config.yaml 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 config.yaml 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.