reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <>
Subject [jira] [Commented] (REEF-1456) Develop distributed counters framework in REEF
Date Thu, 23 Jun 2016 17:00:21 GMT


Markus Weimer commented on REEF-1456:

{{IDistributedCountersClient}} seems to break abstraction via the methods {{Update}}, {{Reset}}
and {{ResetAll}}. Why not restrict the API to the following?

public interface IDistributedCountersClient : IEnumerable<IDistributedCounter>{
 IDistributedCounter GetOrCreateCounter(string counterName);

 IDistributedCounter GetCounter(string counterName); // returns null if it doesn't exist yet

 bool DoesCounterExist(string counterName);

What would we miss out on?

> Develop distributed counters framework in REEF
> ----------------------------------------------
>                 Key: REEF-1456
>                 URL:
>             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

View raw message