This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-10
Channels
- # admin-announcements (21)
- # announcements (1)
- # boot (91)
- # cider (2)
- # cljs-dev (46)
- # clojure (77)
- # clojure-berlin (1)
- # clojure-czech (2)
- # clojure-dev (22)
- # clojure-france (2)
- # clojure-india (1)
- # clojure-japan (16)
- # clojure-russia (6)
- # clojure-uk (1)
- # clojurescript (195)
- # cloxp (2)
- # cursive (15)
- # editors (6)
- # jobs (10)
- # ldnclj (18)
- # liberator (3)
- # off-topic (2)
- # onyx (24)
- # re-frame (4)
- # reagent (57)
Have a possible use case for Onyx … see if you guys think it might work …
I have a bunch of VMs on amazon … i want to periodically (ever day?) poll them and check various attributes on them ...
do they have a tag?
is their name in this “approved list” of machines?
is the cpu usage between X and Y ?
… which would be functions i would define with some libraries that connects to an instance of ec2 and verifies the thing is true
then I want to email someone if this fails
and add the finding to a redis database with the findings
good for onyx? or no?
You could do that in onyx I’d think, but that really seems like a slam dunk cron + scripting language job
looking for the best tool for the job
right now its in ruby and attempting to be threaded but things are happening in parallel .. so it performs poorly
and (secretly) looking to use clojure but trying to keep open mind of tools to use
can you think of a scenario that using onyx for something like this that would make this a slam dunk for using onyx?
like if you wanted to also do X and Y, then onyx is a good fit
@clojuregeek: You want a workflow engine a la AWS SWF for that
Those things are infrequent and have high latency, which make it a better fit for something like that
ok, thanks
my co-worker says what if we wanted to do it outside of amazon?
is there an open source version of SWF ?
@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
OK.. Thanks :) maybe can write a wrapper around swf ..