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 12DF1200B41 for ; Thu, 23 Jun 2016 05:57:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11921160A64; Thu, 23 Jun 2016 03:57:18 +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 7DC03160A36 for ; Thu, 23 Jun 2016 05:57:17 +0200 (CEST) Received: (qmail 25637 invoked by uid 500); 23 Jun 2016 03:57:16 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 25612 invoked by uid 99); 23 Jun 2016 03:57:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 03:57:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 32E302C14F8 for ; Thu, 23 Jun 2016 03:57:16 +0000 (UTC) Date: Thu, 23 Jun 2016 03:57:16 +0000 (UTC) From: "Dhruv Mahajan (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (REEF-1456) Develop distributed counters framework in REEF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Jun 2016 03:57:18 -0000 [ https://issues.apache.org/jira/browse/REEF-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345683#comment-15345683 ] Dhruv Mahajan commented on REEF-1456: ------------------------------------- [~markus.weimer] I have posted a very very initial design. I expect to have many loopholes and missed cases. But I wanted to post it to discuss that the direction is right. Please have a look. Although, i know that you were emphasizing on starting with simple incremental counters first :), I took the liberty of thinking about a generic design :) . > Develop distributed counters framework in REEF > ---------------------------------------------- > > Key: REEF-1456 > URL: https://issues.apache.org/jira/browse/REEF-1456 > Project: REEF > Issue Type: Sub-task > Components: REEF.NET > Environment: C# > Reporter: Dhruv Mahajan > > The aim of this JIRA is to develop distributed counters framework in REEF. Each task can emit pairs of {counter name, incremental value} which are aggregated and sent to driver, which can then aggregate them from all the tasks/ evaluators. The aggregation strategy can be simple addition, most recently used, etc. Via these counters, we can implement some common metrics for ML - like amount (bytes) of data read, current loss function value etc. > We will develop interfaces for Counters for evaluators and driver along with default implementations and aggregation strategies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)