what is the use of caching configuration attributes - MaxElementsOnDisk & MaxElementsInMemory ?

what is the use/characteristic of this attributes (MaxElementsOnDisk & MaxElementsInMemory)? Can someone please explain with an example in APIGEE cache context ?

@Dino @Dino-at-Google @Maruti Chand @Mukundha Madhavan @Anil Sagar

https://github.com/apigee/api-platform-samples/blob/master/sample-proxies/pagination/paginationCache...

0 3 320
3 REPLIES 3

Just for cache management.

MaxElements{OnDisk, InMemory} is used for cache eviction.

Thanks @Dino-at-Google for reply.

Any link specific to APIGEE cache implementation to understand how APIGEE uses this attributes internally to manage the cache ?

So APIGEE have L1 and L2 memory for cache . Do you mean once the element counts/limit crossed , they do eviction or remove from that resource ? what mean of elements counts here ? Are they number of json response or something else (are those count number of json docs OR entries )?

There is no further documentation on how the cache is implemented internally in Apigee Edge.

Yes, eviction means once the limits are crossed, Apigee Edge can evict elements from the cache. The counts are element counts.