Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to configure L2 cache size limit and to clear L2 cache only?

Not applicable

Hi Team,

A customer asks about L2 cache config for Apigee Edge Private Cloud which doesn't seem to be documented.

1. Is it possible to configure the maximum size limit for L2 Cache?

In cache.properties file of MP there are properties:

second.level.cache.enabled=true
second.level.cache.element.max.size.in.bytes=524288
Then is there also config for placing the limit of the total number of cache elements?


2. Is it possible to clear L2 cache only without touching L1 cache data?

By looking at the Community post:

https://community.apigee.com/questions/3813/needed-info-about-caching.html https://community.apigee.com/questions/28997/how-to-find-out-if-l2-cache-is-disabled-in-onpremi.html

The Management API and Edge UI config looks like clearing both L1 and L2 at the same time.

If so, can we clear L2 cache entries on Cassandra only by the following data?

column family name - cache_entries


Regards,
Toshi

0 4 879
4 REPLIES 4