News for hackers. Stuff that matters.
Re:AWS Managed Workflows for Apache Airflow by brainzap on Tuesday November 24, 2020 @04:36PM (#25203245)
But why Airflow, it has so many weird things. I hope it is dethroned soon.
Re:AWS Managed Workflows for Apache Airflow by soamv on Tuesday November 24, 2020 @05:13PM (#25203592)
Because people use it. It's been around a while and has an ecosystem around it. (This is the interesting thing about AWS, they keep the focus on what people do use, rather than some opinionated idea of what they should use.)
Re:AWS Managed Workflows for Apache Airflow by rywalker on Tuesday November 24, 2020 @05:13PM (#25203588)
fyi airflow 2.0 ships in the next few weeks, we're made a lot of improvements https://www.youtube.com/playlist?list=PLCi-q9vYo4x-PESoBcXN0...
Re:AWS Managed Workflows for Apache Airflow by numbsafari on Wednesday November 25, 2020 @12:00AM (#25206175)
It'd be really helpful if there were an article that folks could read.

Consuming video instead of text assumes that (1) I can hear and (2) I have the time to sit and listen at your speaking pace and (3) I'm in a place where I can sit with the audio turned up (4) I really want to expend the extra bandwidth for your video.

This trend towards posting video content instead of, rather than along-side, written content is pretty anti-accessbility.

Re:AWS Managed Workflows for Apache Airflow by manigandham on Wednesday November 25, 2020 @02:55AM (#25206883)
Here's an article from the same source: https://www.astronomer.io/blog/introducing-airflow-2-0/
Re:AWS Managed Workflows for Apache Airflow by dividedbyzero on Wednesday November 25, 2020 @01:39AM (#25206517)
Do you have an article or something I can skim/scan more quickly? Not going to invest over an hour to watch those videos.
Re:AWS Managed Workflows for Apache Airflow by seddonm1 on Tuesday November 24, 2020 @05:37PM (#25203829)
I am hoping Argo Workflows (https://argoproj.github.io/projects/argo) will make that happen. It decouples orchestration from data flow nicely and runs on Kubernetes so is highly-available.
Re:AWS Managed Workflows for Apache Airflow by vanpythonista on Tuesday November 24, 2020 @07:28PM (#25204643)
I like Argo and have used both solutions, but I'm not yet convinced that YAML based workflows are superior to Airflow's Python Code as workflows.
Re:AWS Managed Workflows for Apache Airflow by seddonm1 on Tuesday November 24, 2020 @09:16PM (#25205278)
Agree that YAML is not really ideal for this case.

For other readers Argo does support 'Scripts' which means you can implement complex logic similar to Airflow if required but can be a bit clumsy: https://argoproj.github.io/argo/examples/#scripts-results

Additionally, I think we may see other layers on top of Argo in future that may abstract from the YAML similar to how Kubeflow uses Argo for the Kubeflow Pipelines capability: https://www.kubeflow.org/docs/components/pipelines/pipelines...

Re:AWS Managed Workflows for Apache Airflow by kumare3 on Tuesday November 24, 2020 @09:40PM (#25205439)
Have you tried Flyte - flyte.org?
Re:AWS Managed Workflows for Apache Airflow by lxglv on Wednesday November 25, 2020 @04:38AM (#25207455)
Running something on Kubernetes does not make this something highly available. It makes this something randomly restarting.
Re:AWS Managed Workflows for Apache Airflow by seddonm1 on Wednesday November 25, 2020 @06:05PM (#25215287)
Maybe.

In this case Argo uses the Kubernetes distributed state store (etcd or equivalent) and is a stateless service so can deal with failures quite well.

Re:AWS Managed Workflows for Apache Airflow by drewda on Tuesday November 24, 2020 @06:37PM (#25204302)
Agreed. We've had good luck running all sorts of jobs on Argo and wrote up some of our experiences at https://www.interline.io/blog/scaling-openstreetmap-data-wor...
Re:AWS Managed Workflows for Apache Airflow by blakeburch on Tuesday November 24, 2020 @05:43PM (#25203879)
Agreed. It's the golden standard for data workflows right now, but it's pretty cumbersome to work with.

I'm building a SaaS product to try and fix the issues I found with Airflow et al. Feel free to check my profile/reach out if you're interested in trying an alternative.

Re:AWS Managed Workflows for Apache Airflow by riyadparvez on Tuesday November 24, 2020 @05:13PM (#25203589)
I have read Airflow 2.0 release addresses lot of long-term cirticisms of Airflow. Hope anyone here experience with Airflow can illuminate us.
Re:AWS Managed Workflows for Apache Airflow by emehex on Tuesday November 24, 2020 @06:06PM (#25204080)
Me too. It's so complicated! If you just need to schedule something without any dependencies, maybe try: https://github.com/maxhumber/hickory

Disclaimer: I'm the creator.

Re:AWS Managed Workflows for Apache Airflow by arthurcolle on Tuesday November 24, 2020 @07:19PM (#25204585)
Lmao this is a great comment - I have found so many bizarre eccentricities with Airflow, but it is still, in general, quite nice to build with. What are you thinking about?
Re:AWS Managed Workflows for Apache Airflow by mchusma on Tuesday November 24, 2020 @04:42PM (#25203282)
Curious what you like better?
Re:AWS Managed Workflows for Apache Airflow by dfsegoat on Tuesday November 24, 2020 @04:53PM (#25203373)
Luigi from Spotify:

https://github.com/spotify/luigi

We’ve been using it for complex update workflows for about 5 yrs now, and it just works.

It doesn’t do scheduling or have a fancy ui, but it’s a solid workhorse.

Re:AWS Managed Workflows for Apache Airflow by kumare3 on Tuesday November 24, 2020 @09:42PM (#25205451)
Spotify is moving to https://Flyte.org and building a Luigi to Flyte compiler. Stay tuned
Re:AWS Managed Workflows for Apache Airflow by six2seven on Tuesday November 24, 2020 @04:56PM (#25203401)
Although this article [1] compares Airflow to Prefect it outlines pretty interestingly limitations of Airflow.

I would be also curious to hear more about alternative and mature open-source solutions to Airflow.

[1] https://medium.com/the-prefect-blog/why-not-airflow-4cfa4232...

Re:AWS Managed Workflows for Apache Airflow by dimberman on Tuesday November 24, 2020 @05:27PM (#25203738)
I would recommend you check out Airflow 2.0. It's a pretty major rebuild in a whole lot of ways (new UI, new DAG API, up to TEN TIMES faster task execution, multiple schedulers at once). I've actually had friends prepared to pick Prefect over Airflow until they tried 2.0. We put a lot of work into it, including extensive QA time to ensure that it runs reliably.

Disclosure: I'm on the Airflow PMC.

Re:AWS Managed Workflows for Apache Airflow by ElevenPhonons on Wednesday November 25, 2020 @04:55AM (#25207557)
Is there a list of backward incompatible changes?

Also, how would you describe the overall health of the code base with all of these new features added?

Re:AWS Managed Workflows for Apache Airflow by mchusma on Tuesday November 24, 2020 @06:45PM (#25204359)
Thanks for your work on airflow. 2.0 is exciting and we are looking forward to it. Love airflow 1 though too, it has helped us a ton.
Re:AWS Managed Workflows for Apache Airflow by x87678r on Tuesday November 24, 2020 @04:57PM (#25203408)
Re:AWS Managed Workflows for Apache Airflow by kingkonz1 on Tuesday November 24, 2020 @04:46PM (#25203318)
not OP, but I prefer https://github.com/azkaban/azkaban to airflow
Re:AWS Managed Workflows for Apache Airflow by zmmmmm on Tuesday November 24, 2020 @05:04PM (#25203477)
so, workflows described in yaml? I also am a bit ambivalent about Airflow and the way workflows are built up in it, but YAML seems really weak and unlikely to handle complexity well.

Also - it's entirely built around Hadoop from what I can see? Seems a limited use case compared to Airflow.

Re:AWS Managed Workflows for Apache Airflow by ttymck on Tuesday November 24, 2020 @05:06PM (#25203507)
You raise a good point, there is an apparent need for an application that retains the dags-as-code but radically simplifies the airflow architecture.
Re:AWS Managed Workflows for Apache Airflow by rywalker on Tuesday November 24, 2020 @05:15PM (#25203610)
if you like YAML-based DAGs, you can do that in Airflow with the dag-factory extension https://github.com/ajbosco/dag-factory
Re:AWS Managed Workflows for Apache Airflow by mfateev on Tuesday November 24, 2020 @06:45PM (#25204360)
temporal.io
Re:AWS Managed Workflows for Apache Airflow by ttsda on Wednesday November 25, 2020 @05:10AM (#25207650)
This is it, the DAG model is a thing of the past