Hi,
By processing independently I meant async, outside the callback, eg inside
a Mesos+Frenzo cluster [1], processors not running Oak.
Best Regards
Ian


1
http://techblog.netflix.com/2015/08/fenzo-oss-scheduler-for-apache-mesos.html

On 10 May 2016 at 06:02, Chetan Mehrotra <chetan.mehro...@gmail.com> wrote:

> On Mon, May 9, 2016 at 8:27 PM, Ian Boston <i...@tfd.co.uk> wrote:
>
> > I thought the consumers of this api want things like the absolute path of
> > the File in the BlobStore, or the bucket and key of the S3 Object, so
> that
> > they could transmit it and use it for processing independently of Oak
> > outside the callback ?
> >
>
> Most cases can still be done, just do it within the callback
>
> blobStore.process("xxx", new BlobProcessor(){
>     void process(AdaptableBlob blob){
>          File file = blob.adaptTo(File.class);
>          transformImage(file);
>     }
> });
>
> Doing this within callback would allow Oak to enforce some safeguards (more
> on that in next mail) and still allows the user to perform optimal binary
> processing
>
> Chetan Mehrotra
>

Reply via email to