eG Monitoring
 

Measures reported by HybQyCacheTest

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.

SAP Hybris cache can be split into multiple partitions called regions. Each region cache can be configured separately and cam hold its own set of handled types. Query Region Cache is used for storing the results of all the queries.

The purpose of this test is to monitor Query Region Cache for performance and ensure that majority of query response 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.
CacheFillRatio Indicates the number 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.
InvalidationCount Indicates the number of items invalidated in the cache in a min during 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.
EvictionCount Indicates the number of items evicted 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.
FetchCount Indicates the number of items fetched per min during the last measurement period. Number/Min  
HitCount Indicates the number of times where the item was 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.

MissCount 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.

HitRatio 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.