Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6E807200BA3 for ; Thu, 6 Oct 2016 06:56:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D199160AEA; Thu, 6 Oct 2016 04:56:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9560160ADE for ; Thu, 6 Oct 2016 06:56:45 +0200 (CEST) Received: (qmail 47064 invoked by uid 500); 6 Oct 2016 04:56:44 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 47050 invoked by uid 99); 6 Oct 2016 04:56:44 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 04:56:44 +0000 Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2C22E1A018B for ; Thu, 6 Oct 2016 04:56:43 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id x79so5586090lff.0 for ; Wed, 05 Oct 2016 21:56:43 -0700 (PDT) X-Gm-Message-State: AA6/9RkWkFnB8cxTavnVZxevtppRndDPDpvSqhUIxm+TpHytgp5B6cnTXshKsFSj7JcszclTrUlxAJBUORLM0l06 X-Received: by 10.46.0.152 with SMTP id e24mr5385590lji.21.1475729802330; Wed, 05 Oct 2016 21:56:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.159.197 with HTTP; Wed, 5 Oct 2016 21:56:41 -0700 (PDT) From: Alexey Kuznetsov Date: Thu, 6 Oct 2016 11:56:41 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Where and how to store metrics for queries. To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1142d82aa71b39053e2b1eb2 archived-at: Thu, 06 Oct 2016 04:56:46 -0000 --001a1142d82aa71b39053e2b1eb2 Content-Type: text/plain; charset=UTF-8 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 --001a1142d82aa71b39053e2b1eb2--