onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
2018-07-23T12:25:43.000095Z

I seem to remember talks about a standalone/embedded onyx for smaller deployments a while back. Is there something available or was it just an idea?

michaeldrogalis 2018-07-23T15:07:04.000280Z

@nha Just an idea - we didn't end up pursuing it. I still think it's worthwhile, though.

1
2018-07-23T15:56:59.000414Z

I see. I was thinking it would be nice to build a work queue (not sure how this is called usually) on top of Onyx. In a one-node setup where work is not really distributed (yet) but the app could benefit from retries, maybe monitoring, persistence of jobs across restarts etc. So something like a stuartsierra/component encapsulating an Onyx instance would be great for me. Does that make sense?

gardnervickers 2018-07-23T16:43:07.000359Z

It might be a bit cumbersome depending on your job execution time. Onyx defaults are setup for low latency message processing so if you’re doing something that takes a while in each of your tasks you may have to fiddle with the default timeouts a bit.

2018-07-23T16:47:15.000136Z

oh I see. Mine should be short (ex. a DB delete), but that’s good to know

gardnervickers 2018-07-23T17:47:06.000091Z

Ah that sounds like a good fit then

sparkofreason 2018-07-23T17:58:13.000350Z

Had a job running for a long time, just restarted, and it wound up failing with this exception. Is there something I should be doing for long-running jobs?