Document Properties
Kbid
2966P9
Last Modified
02-Dec-2022
Added to KB
20-Oct-2020
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
ICM 7.10
Guide - 7.10.19.0 New Cache API - Configuration and Metrics

Table of Contents


Introduction

With release 7.10.19.0, a new Cache API is introduced, which allows fine grained configuration and invalidation. The new caches are based on Guava cache implementation.

Migration

Existing caches must not be migrated, but we recommend to use the new cache API as soon as possible. Some features are:

  • Fully configurable via properties
  • Allow weak references for keys and weak or soft references for values
  • Definition of initial and maximum size
  • Monitoring of caches (sizes, cache hit ration) via Prometheus /metrics endpoint (since version 7.10.25.0)

Attention

After introduction the promotion cache was reworked (7.10.22.0). Unfortunately, the default configuration of caches leads to an high memory usage of that cache. So we strongly recommend to configure the cache manually.

intershop.caches.PromotionsCache.guava.config=recordStats,concurrencyLevel=16,initialCapacity=100,maximumSize=10000

Documents

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.