[jira] [Created] (IGNITE-5765) CacheMetrics interface cleanup, documentation and fixes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (IGNITE-5765) CacheMetrics interface cleanup, documentation and fixes

JIRA jira@apache.org
Sergey Chugunov created IGNITE-5765:

             Summary: CacheMetrics interface cleanup, documentation and fixes
                 Key: IGNITE-5765
                 URL: https://issues.apache.org/jira/browse/IGNITE-5765
             Project: Ignite
          Issue Type: Improvement
            Reporter: Sergey Chugunov

After moving to PageMemory offheap architecture some of metrics on CacheMetrics interface became vague.
The reason for this is that in Ignite2.0 data is always stored offheap but it is possible to configure additional on-heap area where frequently requested data is stored in deserialized form.

We need to revise the following metrics one by one and make a decision on each of them. All of them must be properly documented (right now documentation is rudimentary and doesn't allow to understand what to expect from each of them), some may be deprecated (and removed in later major release) and some must be reimplemented:

* getOffHeapGets (and how it relates to getCacheGets in case of near caches enabled);
* getOffHeapPuts;
* getOffHeapRemovals;
* getOffHeapEvictions;
* getOffHeapHits;
* getOffHeapHitPercentage;
* getOffHeapMisses;
* getOffHeapMissPercentage;
* getOffHeapEntriesCount (and how it relates to getHeapEntriesCount).

This message was sent by Atlassian JIRA