Alexey, why do you need to store the SQL metrics in a cache? I would avoid it. Instead, is there a way to have a local metric store on every node and have WebConsole send a task to each node and aggregate the results?
D. On Wed, Oct 5, 2016 at 9:56 PM, Alexey Kuznetsov <akuznet...@apache.org> wrote: > 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 >