Skip to main content
Version: Deploy 24.3

Configure Caching for a Single Node Deploy Server

Note: Any failure during the caching setup will be captured in the logs but will not stop the application from starting. Follow these steps to configure an embedded caching server on a single node Deploy server.

  1. Set the in-process-worker key to true (default value is true) in the deploy-task.yaml file.

  2. Set the cluster.mode key to default (default value is default) in the deploy-cluster.yaml file.

  3. Set the deploy.caches.enabled key to true (default value is false) in the deploy-caches.yaml file to enable application-level caching.

  4. Restart the Deploy server (run.sh).

  5. Verify the logs to ensure that the cache configuration is correct. Log showing Embedded Cache success

  6. Optionally, you can configure the following individual caches in the deploy-caches.yaml file.

    CacheDescription
    CI_PK_CACHECache for CIs by primary keys
    CI_PATH_CACHECache for CIs by their paths
    CI_PROPERTIES_CACHECache for CI properties
    LICENSE_CI_COUNTCache for license restricted CI counts

See deploy-caches.yaml file's configuration properties page for more information. deploy.caches for Embedded cache

Troubleshooting

In case of any issues or unexpected behavior with the Deploy cache, check the logs for possible configuration issues such as the one shown below.

Cache Error
In such cases, correct the appropriate configuration parameter, restart the server, and check the logs again.