You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2017/10/15 09:39:02 UTC

[jira] [Commented] (KYLIN-2722) Introduce a new measure, called active reservoir, for actively pushing metrics to reporters

    [ https://issues.apache.org/jira/browse/KYLIN-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205083#comment-16205083 ] 

liyang commented on KYLIN-2722:
-------------------------------

Reviewing https://github.com/apache/kylin/pull/77, a few minor questions/comments:
* The term "active reservoir" sounds a little strange, because I don't see inactive reservoir any where. The "active" is not meaningful without the "inactive", just like there is no good without evil.
* Also the term reservoir perhaps a little too big here? For me, it's just a buffer holding events before flushing to reporter. I know people like fancy word, but the scale is not fitting really. Be free to make a call. Naming shall not prevent a nice feature to commit and we can always rename later.

> Introduce a new measure, called active reservoir, for actively pushing metrics to reporters
> -------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-2722
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2722
>             Project: Kylin
>          Issue Type: Sub-task
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>         Attachments: APACHE-KYLIN-2722.patch
>
>
> For many existing metrics frameworks, they focus on maintaining metrics in memory independently for each instance. However, kylin server may consist of multiple instances. Thus we extend existing metrics framework by introducing *active reservoir* to actively push metrics to reporters which will report metrics of its instance to a unified storage. 
> Here we introduced two *active reservoirs*. One is called {{BlockingReservoir}}, which will buffer the metrics. The other is called {{InstantReservoir}}, which owns no buffer and will directly push metrics to reporters.
> Generally, one *active reservoir* can push its metrics to multiple reporters and one reporter can only listen on one *active reservoir*.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)