SAP Knowledge Base Article - Preview

3791124 - SAP Commerce Cloud Cache Layer Changes From JDK 17 to JDK 21

Symptom

The SAP Commerce Cloud Framework Update to JDK 21 introduces changes to the platform caching layer. As documented in Caching Libraries, the cache region implementation used for entity and query result regions has been replaced with a new library and a different eviction algorithm. Customers upgrading to JDK 21 should be aware that this change can affect application performance and requires validation through performance testing before production go-live.

What changed

JDK 17

JDK 21

Cache engine for entity and query regions

EhCache 2.x

Caffeine

Cache engine for web API responses

EhCache 2.x

EhCache 3.x

Eviction policy for entity and query regions

Configurable (LRU, LFU, or FIFO)

Window TinyLFU


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211 ; SAP Commerce Cloud 2211 for JDK21

Keywords

Framework update, JDK 21 update, cache, performance , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.