Pricing cache
  • 07 Oct 2024
  • 1 Minute to read
  • Dark
    Light

Pricing cache

  • Dark
    Light

Article summary

A session cache in eCommerce caches pricing information at the user level. Users from the same company account and sales area may experience faster loading times when eCommerce reads data from a global cache instead of a session cache. To optimize the overall response time of the eCommerce application, configure a pricing cache.

Configure a pricing cache

To configure a pricing cache in Zilliant CPQ:

  1. From the left navigation area, select Administration.
  2. From the top navigation bar, select Master Data Management.
  3. Select the Setting Boolean row.
  4. Select Use Global Cache for Commerce Product Pricing.
  5. Set the Setting Value Boolean switch to YES. If set to NO, the eCommerce application reads from a session cache instead of a global cache when a user is signed in to eCommerce.
  6. Return to Master Data Management and select the Setting Numeric row.
  7. Select Cache Size for Commerce Product Pricing.
  8. Enter a cache size in the Setting Value Numeric field.
  9. Restart the server.

Recommended cache sizes

The following table lists recommended cache sizes. Actual cache sizes differ based on user count, number of products, and other parameters. Adjust cache sizes on a case-by-case basis.

Cache typeCache size (number of products)
Global cache1,000,000
Session cache50,000

Optimize a global pricing cache

In the SAP Cloud Platform Cockpit, the JMX Console offers the following ways to analyze and optimize a global pricing cache:

Note

The JMX Console supports analysis and optimization of global caches only. Session caches, which are managed at the user level, automatically adjust sizes based on the products needed.

MethodDescription
analyzeCacheReturns statistics of the products in the cache, including:
  • Total number of products.
  • Hit rate—Frequency the cache has been polled for product pricing.
  • Miss rate—Calculated as (1 - Hit rate).
  • Eviction count—Number of products that have been in the cache for more than 24 hours.
cleanupCacheClears the cache.
cleanupCacheForExpiredDateClears the cache for products that have been in the cache for more than 24 hours.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.