eG Monitoring
 

Measures reported by HybMainCacheTest

The SAP Hybris comes with cache feature which intercepts calls whenever API is accessed and caches the results. If data is queried again it is either returned from returned from cache or retrieved from database and written to cache.

The purpose of this test is to monitor Main Cache for performance and ensure that majority of entries are returned from cache which will result in optimal overall system performance.

Outputs of the test: One set of results for entity region cache belonging to each tenant

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
CurrentCacheSize Indicates the total number of entries in cache during the last measurement period. Number If the cache fill ratio is towards 100%, it may be a sign that either the cache size is too small for the transactions it is supporting or there is some issue with cache invalidation and eviction algorithm.
CurrentCacheSizeInPercent Indicates the numbed of entries in the last measurement period against maximum entries in the cache. Percentage If the cache fill ratio is towards 100%, it may be a sign that either the cache size is too small for the transactions it is supporting or there is some issue with cache invalidation and eviction algorithm.
MaximumCacheSize Indicates the maximum number of entries allowed in the entity region cache. Number If the cache fill ratio is towards 100%, it may be a sign that either the cache size is too small for the transactions it is supporting or there is some issue with cache invalidation and eviction algorithm.
EntitiesAddCount Indicates the number of items added in the cache in one minute during the last measurement period. Number/Min In systems with high number of write transactions, the invalidation rate should be high, if that is not the case, it needs to be investigated.
EntitiesRemoveCount Indicates the number of items removed from the cache in a min during last measurement period. Number/Min Old items which are not used for long need to be continuously evicted from cache to make place for new entries. If the eviction rate is low, it could lead to filling of cache quickly.
EntitiesGetCount Indicates the number of entries requested from cache per minute during the last measurement period. Number/Min  
EntitiesHitCount Indicates the number of times where the entries were found in a min during the last measurement period. Number/Min Some key indicators of degradation in performance can be:

  • Downward trend of Hit rate measured over multiple consecutive measurement periods.

  • Upward trend of Miss rate measured over multiple consecutive measurement periods.

  • Comparatively low value of Hit ratio.

MissInPerc Indicates the number of times where the entries were not found in a min during the last measurement period. Number/Min Some key indicators of degradation in performance can be:

  • Downward trend of Hit rate measured over multiple consecutive measurement periods.

  • Upward trend of Miss rate measured over multiple consecutive measurement periods.

  • Comparatively low value of Hit ratio.

HitInPerc Indicate the percent of entries requested, which were in the cache during the last measurement period. Percentage Some key indicators of degradation in performance can be:

  • Downward trend of Hit rate measured over multiple consecutive measurement periods.

  • Upward trend of Miss rate measured over multiple consecutive measurement periods.

  • Comparatively low value of Hit ratio.