Fork me on GitHub
#onyx
<
2015-08-10
>
clojuregeek21:08:51

Have a possible use case for Onyx … see if you guys think it might work …

clojuregeek21:08:23

I have a bunch of VMs on amazon … i want to periodically (ever day?) poll them and check various attributes on them ...

clojuregeek21:08:28

do they have a tag?

clojuregeek21:08:37

is their name in this “approved list” of machines?

clojuregeek21:08:53

is the cpu usage between X and Y ?

clojuregeek21:08:22

… which would be functions i would define with some libraries that connects to an instance of ec2 and verifies the thing is true

clojuregeek21:08:32

then I want to email someone if this fails

clojuregeek21:08:50

and add the finding to a redis database with the findings

clojuregeek21:08:05

good for onyx? or no?

erichmond21:08:56

You could do that in onyx I’d think, but that really seems like a slam dunk cron + scripting language job

erichmond21:08:08

Are you looking for onyx use cases?

clojuregeek21:08:57

looking for the best tool for the job

clojuregeek21:08:31

right now its in ruby and attempting to be threaded but things are happening in parallel .. so it performs poorly

clojuregeek21:08:24

and (secretly) looking to use clojure but trying to keep open mind of tools to use simple_smile

clojuregeek21:08:20

can you think of a scenario that using onyx for something like this that would make this a slam dunk for using onyx?

clojuregeek21:08:44

like if you wanted to also do X and Y, then onyx is a good fit

michaeldrogalis21:08:27

@clojuregeek: You want a workflow engine a la AWS SWF for that

michaeldrogalis21:08:10

Those things are infrequent and have high latency, which make it a better fit for something like that

clojuregeek21:08:34

my co-worker says what if we wanted to do it outside of amazon?

clojuregeek21:08:17

is there an open source version of SWF ?

michaeldrogalis23:08:28

@clojuregeek: There's not, no. We have one we built internally at ViaSat because of that. There are others though, I dont get into this part of the field often enough to speak about what's good and what's not

clojuregeek23:08:47

OK.. Thanks :) maybe can write a wrapper around swf ..