ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Goncharuk <alexey.goncha...@gmail.com>
Subject Re: Memory usage per cache
Date Thu, 12 Apr 2018 15:46:19 GMT
Sounds good to me.

Folks, any other feedback on metrics API in IGNITE-8078?

2018-04-06 21:36 GMT+03:00 Denis Magda <dmagda@apache.org>:

> Alex,
>
> Why not return cache group metrics from this method by default and properly
> > document it?
>
>
> What do you think about Dmitry's suggestion? It sounds reasonable to me.
>
> --
> Denis
>
> On Wed, Apr 4, 2018 at 12:22 PM, Dmitriy Setrakyan <dsetrakyan@apache.org>
> wrote:
>
> > On Wed, Apr 4, 2018 at 5:27 AM, Alexey Goncharuk <
> > alexey.goncharuk@gmail.com
> > > wrote:
> >
> > > Denis,
> > >
> > > I think this particular metric should be deprecated. The most we can do
> > > about it is to return the actual allocated size when a cache is the
> only
> > > cache in a group and return -1 if there are multiple caches in a group.
> > > However, this does not look like a consistent approach to me, so I
> would
> > > prefer to always return -1 and suggest that users use corresponding
> cache
> > > group metrics.
> > >
> >
> > Why not return cache group metrics from this method by default and
> properly
> > document it?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message