Layer7 API Management

  • 1.  How to check/monitor the cache

    Posted May 29, 2018 04:57 AM

    Hi,

    we are using for example a cache with max 10.000 entries. Is there any CLI command or any other method available, how to verify, how much entries are currently in use? And what's the current size of this cache? Are there any statistics available or can this somehow be monitored?

    Thank you for any useful information!

     

    Ciao Stefan



  • 2.  Re: How to check/monitor the cache
    Best Answer

    Broadcom Employee
    Posted Jun 12, 2018 09:48 AM

    Hi Stefan,

     

    It appears you have an open case for this question as well. Just to keep the rest of the community in the loop, I am not aware of any way to monitor or report on the cache. A similarly themed thread exists below, I don't believe this has changed since the initial posting.

     

    CA API Gateway and cache management capabilities 

     

    Regards,

    Joe



  • 3.  Re: How to check/monitor the cache

    Posted Jun 14, 2018 10:20 AM

    Hi Joe,

    thanks for your answer and yes I'm already aware of the other thread.

    I was just asking this "stupid" question, because I can't believe, that it should not be possible to verify the current values/behavior of the cache.

    Or asking the other way round, what is CA recommending how to fine-tune the cache and finding the right values for best results vs. performance? Or can this only be workaround with some kind of audit logging? I mean, I can catch the result if the lookup fails, but I don't know if the value was never there before, timed out or was removed due to FIFO.

    Any further advise would be very helpful.

    Thank you!

     

    Ciao Stefan



  • 4.  Re: How to check/monitor the cache

    Posted Jun 14, 2018 10:45 AM

    Just thought if you want to achieve log on full cache: combine the add to cache assertion in the policy with a quota assertion set to the same value as your cache size and configure it for log only. Seems like an easy way to achieve logging when the cache is full and the query quota assertion also gives you the option to do some auditing on the number of cache inserts over various timeframes.

     

    Regards,

    Michiel