You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Akash Shinde <ak...@gmail.com> on 2018/10/26 13:48:46 UTC
Cache Metrics
Hi,
I have captured below two ignite cache metrics.
1) igniteCache.metrics().getSize()
2)igniteCache .metrics().getOffHeapEntriesCount()
I started three nodes with distrusted load.
When I started filling the cache I observed OffHeapEntries counts are
approximately double
of cache size.
Why offHeapEntries count are approximately double?
Is offHeapEntries includes primary count plus backup counts?
Thanks,
Akash
Re: Cache Metrics
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Yes, I assume that offHeapEntries == primaries + backups.
Regards,
--
Ilya Kasnacheev
пт, 26 окт. 2018 г. в 16:49, Akash Shinde <ak...@gmail.com>:
> Hi,
> I have captured below two ignite cache metrics.
>
> 1) igniteCache.metrics().getSize()
> 2)igniteCache .metrics().getOffHeapEntriesCount()
>
> I started three nodes with distrusted load.
> When I started filling the cache I observed OffHeapEntries counts are
> approximately double
> of cache size.
>
> Why offHeapEntries count are approximately double?
> Is offHeapEntries includes primary count plus backup counts?
>
> Thanks,
> Akash
>
>
Re: Cache Metrics
Posted by akurbanov <an...@gmail.com>.
Hello,
This doesn't sound well, could you give a bit more detail on this case? How
many entries did you load (what are the counts), which Ignite version do you
use, and if possible a minimalistic reproducing snippet for this issue.
Also, .getSize() is deprecated now, are you able to use .getCacheSize()
instead and check if it returns correct value?
Regards,
Anton
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/