This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-02
Channels
- # announcements (21)
- # bangalore-clj (1)
- # beginners (122)
- # calva (29)
- # cider (9)
- # cljdoc (1)
- # cljs-dev (7)
- # cljsrn (1)
- # clojure (84)
- # clojure-dev (11)
- # clojure-europe (2)
- # clojure-houston (2)
- # clojure-italy (31)
- # clojure-nl (5)
- # clojure-uk (37)
- # clojuredesign-podcast (3)
- # clojurescript (14)
- # cursive (66)
- # data-science (5)
- # datavis (1)
- # datomic (6)
- # fulcro (16)
- # graphql (4)
- # jobs (2)
- # music (1)
- # off-topic (20)
- # pedestal (1)
- # re-frame (2)
- # reagent (2)
- # shadow-cljs (155)
- # spacemacs (5)
- # tools-deps (5)
- # vim (8)
- # yada (1)
Announcing Daguerreo, a task execution library! > Daguerreo is a library to create workflows using tasks. It takes care of dependency resolution, parallellism, retries and timeouts and let’s you focus on your business logic. It shares the basic structure of other task execution libraries such as Airflow or Luigi, but unlike those it is meant to be embedded in your application rather than run as a standalone service. https://github.com/schmee/daguerreo/
Not sure what you mean by that, but I’m certainly open to feature requests/suggestions 🙂 If you’re interested, please open an issue describing what you’re looking for and maybe an example use-case! 🙏
I guess checkpointing = restart the job from “in the middle” to avoid redoing a bunch of work?
I looked at http://andrewberls.com/blog/post/introducing-overseer--data-pipeline-management-in-clojure-pt-1 before in this space in Clojure
this looks like a single-process version of it, without any process-level execution guarantees (ie. if I kill the running DAG, I have to handle resuming it somehow)
correct, because of that it is not really suited for really long-running workflows (e.g big data-crunching jobs)
the sweet spot for Daguerreo in it’s current state is when you have lots of smaller tasks that interact with each other in complex ways, but the overall time of the job is “short”, for some definition of short
> correct, because of that it is not really suited for really long-running workflows (e.g big data-crunching jobs) but if this is intended then the comparison with Airflow and similar tools that fit this niche is unfair IMO
the comparison is not meant to imply “Daguerreo matches the features of these libraries”, but “if you are familiar with these libraries, it will help you understand Daguerreo faster”. I’ll re-phrase it and add some more in-depth comparisons on how they differ, thanks for the feedback! :thumbsup:
I don't quite understand why did you choose not to rely on jvm thread interruption mechanism
if correctly implemented, blocking calls such as Thread/sleep
support cancellation via Thread/interrupt
, and polling is supported as well via Thread/isInterrupted
@U053XQP4S the reason is partly that I don’t want to expose users to old-school Java threading details, and partly that there are lots of libraries that don’t handle interrupts properly anyway. So my choice was to make it explicit and force the user to handle it rather than relying on a potentially shaky, more implicit solution. The current solution can also be modified to handle interrupts if I ever want to go down that road (I think :D). So that the reasoning, whether it’s good or not I’m actually not sure myself 🙂
I’m looking forward to playing with Missionary in an upcoming project btw, it looks really cool! 🙂
that makes sense, however I find useful to have a way to be actively notified of cancellation (in addition to passive polling), for instance by attaching a callback to the token
agree, that’s something I overlooked in the initial release. Would an on-complete
callback suffice you think? then you can check the completion status in the callback and handle it, or hook it up to something like Manifold can work with deffereds instead
a callback looks like the most flexible solution to me, you can hook up to anything supporting cancellation, including a nested job and even Thread/interrupt
BTW you can make it a non-breaking change if you implement it on the arity 1 of is-active?
😉
Dirac v1.4.0 is out. Featuring initial Figwheel Main integration. Give it a spin: https://github.com/binaryage/dirac/tree/master/examples/figwheel-main