ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Kulichenko <valentin.kuliche...@gmail.com>
Subject Re: Where and how to store metrics for queries.
Date Thu, 06 Oct 2016 19:04:35 GMT

Why do you need to store metrics in cache? For all our metrics we just
store them locally and aggregate on demand. What is the reason for
different approach here?

Generally, I think we should avoid using system caches wherever possible,
and probably rework current usages of such caches. If global notification
is needed, custom discovery message is much better option.


On Wed, Oct 5, 2016 at 9:56 PM, Alexey Kuznetsov <akuznetsov@apache.org>

> Hi, All!
> I'm working on IGNITE-3443 "Implement collecting what SQL statements
> executed on cluster and their metrics." [1]
> And I need to discuss where and how store collected metrics.
> I see 2 options:
> 1) Store metrics in a special separate replicated cache. In this case I
> could easily add, collect and evict metrics. But I will need  somehow made
> this cache "system" in order to not show it for users (for example in Visor
> console).
> 2) Store metrics in system utility cache. In this case I could easily add
> metrics, but collecting and evicting will be not so trivial...
> Which way should I choose?
> Please, share your thoughts.
> [1] https://issues.apache.org/jira/browse/IGNITE-3443
> --
> Alexey Kuznetsov

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