Fork me on GitHub
#onyx
<
2015-07-02
>
chrisn16:07:46

Yes it absolutely does. We will have CPU intensive tasks that take on the order of seconds as processing large images often can. I would be in favor of no timeout assuming the case where a task explodes and takes down a peer is caught another way.

chrisn16:07:09

Along with things like training a neural net which can take hours to days, honestly.

chrisn17:07:40

I think the ideal model for onyx for us would be more like go blocks than workflows/catalog and such.

chrisn17:07:37

Fundamentally if you could use a code transformation to launch a set of tasks on nodes on aws or anywhere that would be the most direct expression of what we want to do.

chrisn17:07:42

What I would like most would be if I could write a function taking one more more streams of data and then have the workflow/catalog/lifestyle/flow conditionals automatically generated from this. I could test this processing graph directly locally and then run a transformation and have it run remotely with minimal functional changes.

chrisn17:07:50

I know this is a huge stretch and not likely any time soon as it would involve managing jars, launching remote processes and all manner of technical machinations but the important thing to note is that this would enable truly ubiquitous 'cloud' computations where we would easily be able to automate most of our company processes to happen on remote nodes. It would involve for us automating kafka, docker and such so that a user does not see them at all, they just write a function, test it locally and then fire it off.

lucasbradstreet17:07:39

You could do something like setting the pending-timeout really high and then have a completely external process monitor the cluster replica. If a peer goes down then you will be able to detect it and kill the job (assuming it should be re-run)

lucasbradstreet17:07:06

But I can’t say whether that’s a good idea or not

chrisn17:07:33

The monitoring the logs would tell us if a peer went down most if time I think.

michaeldrogalis17:07:16

@chrisn: Will think over how best to do what you're asking. That moves very far away from the model Onyx offers though.

chrisn17:07:50

Yes and I am not an expert in this area at all so I don't mean to come in and say something arrogant.

michaeldrogalis18:07:05

Its really meant to work the other way around. Functions generated from data, not data generated from functions. This hasnt tradtionally worked in the past, which is why Onyx now exists simple_smile

michaeldrogalis18:07:12

Nah its np, just trying to solve your problem

chrisn18:07:10

Part of the question boils down to is distributed computation so different than local computation that a transformation will not enable distributed computation from local computation.

michaeldrogalis18:07:14

@chrisn: We're available to build out prototypes if needed, depending on our schedule. We're both a little full up at the moment.

chrisn18:07:01

Awesome, really I would just like high level feedback on the proposal. We (http://thinktopic.com) will shortly have the horsepower to accomplish this and it is not necessary in any sort of short time frame.

michaeldrogalis18:07:00

Yep. A lot of our engagement so far has been "please sanity check our usage of Onyx"

michaeldrogalis18:07:54

I'm doing a talk at LambdaJam in mid July that's a deep dive of how Onyx works, probably good to know if you're pushing the usage boundaries

chrisn18:07:58

I am not pushing any boundaries at this point by any means. I am looking at how to move most of our company computation into aws instances in order to set up our company for the next 5 years, so that means some abstract definition of how to do it. Currently the details of moving even a single computation into the 'cloud' involves zookeeper, kafka, docker, possibly Kubernetes and then we are talking onyx and logging and then colllecting results and monitoring logs; perhaps restarting records that failed etc etc. This isn't scalable in a general sense.

chrisn18:07:40

Not yet to us; we don't have the infrastructure yet.

michaeldrogalis18:07:40

You're gonna be busy simple_smile

chrisn18:07:48

haha I know simple_smile.

jeff22:07:29

Hi @michaeldrogalis and @lucasbradstreet, I just issued a pull request that updates Onyx to use the timbre 4.0.2. Nothing major changed, but the rotating logger moved namespaces and args so it was broken when used with some of our libs that use the latest timbre.

michaeldrogalis23:07:54

@jeff: Merged, thanks! PM me if you want a laptop sticker.