reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia Wang (QIUHE)" <Qiuhe.W...@microsoft.com>
Subject RE: Issues with IActiveContext.SubmitContextAndService
Date Tue, 22 Mar 2016 17:20:52 GMT
We had discussions of removing services in future. You can always leverage IObserver<OnContextStart>
bound to the context for services.

-----Original Message-----
From: Dhruv Mahajan [mailto:dhruv.mahajan@gmail.com] 
Sent: Tuesday, March 22, 2016 10:10 AM
To: dev@reef.apache.org
Subject: Re: Issues with IActiveContext.SubmitContextAndService

Markus, assuming we do this, why do we need to keep separation at task level. As discussed
earlier, we can put data loading in the context itself by binding IObserver<OnContextStart>.
Am I missing something?

Dhruv

On Tue, Mar 22, 2016 at 10:07 AM, Markus Weimer <markus@weimo.de> wrote:

> On 2016-03-22 09:59, Dhruv Mahajan wrote:
> > We do not want to mix the two. Data Loading has to be separate from 
> > everything else.
>
> You could bind both these services into the same context for now. The 
> separation can happen at the Task level: A first Task loads the data, 
> and a second Task performs the ML.
>
> The upside is that you are unblocked, the downside is that we probably 
> need to revisit this in the future.
>
> Markus
>
Mime
View raw message