Catalog Caching
Catalog caching improves the performance and scalability of applications by reducing the need to repeatedly fetch the same data from the database. You can configure the following properties for catalog caching according to your requirements:
Microservice | Property | Description |
---|---|---|
AOPD | maxNoProductcached | Maximum number of product catalogs stored in cache |
enableProductModelGlobalCache | Enables global caching for the product catalog | |
productCacheExpiryPeriod | Product catalog cache expiry period in seconds | |
maxNoActioncached | Maximum number of action catalogs stored in cache | |
enableActionModelGlobalCache | Enables global caching for the action catalog | |
actionCacheExpiryPeriod | Action catalog cache expiry period in seconds | |
Orchestrator | enablePlanFragmentGlobalCache | Enables global caching for the plan-fragment catalog |
maxNoPlanFragmentcached | Maximum number of plan-fragment catalogs stored in cache | |
planFragmentCacheExpiryPeriod | Plan-fragment catalog cache expiry period in seconds | |
globalCacheCleanupTopicName | Global cache cleanup topic name | |
Common | enableProductScoringAndLedger | Enables product scoring To enable model scoring and ledger, set the enableProductScoringAndLedger value to true for the product model in the ConfigValues_Common.xml file |
cmPluggableCache | Decides whether to use Redis or Relational in the application | |
enablePriceScoringAndLedger | Enables price scoring. To enable model scoring and ledger, set the enablePriceScoringAndLedger value to true for the price model in the ConfigValues_Common.xml file. |
|
enableDiscountScoringAndLedger | Enables discount scoring. To enable model scoring and ledger, set the enableDiscountScoringAndLedger value to true for the discount model in the ConfigValues_Common.xml file. |
|
Catalog | globalCacheCleanNotificationTopic | The name of the global cache cleaning topic, used for sending notifications about the model that has been modified or purged. |