Skip to main content
Directed acyclic graph

Directed acyclic graph

Search complete. 131 mentions across 21 episodes found for "Directed acyclic graph".

Nov 24, 2026

Maxime BeaucheminGUEST
9:03
So now we have role-based access control baked into the front end.
Maxime BeaucheminGUEST
9:11
And it seems like now is a good time to start thinking about maybe rebuilding this or building this REST API in a way that's like our back first so that it's consistent with the UI in terms of who can do what, who can do which operation and on which DAG are they allowed to do this.
Maxime BeaucheminGUEST
9:30
So once we have a REST API, we have to retrofit the CLI so that it actually uses it.
Maxime BeaucheminGUEST
9:36
And there's questions there, like, do we still allow local execution? Do we enforce, you know, right now, today, you can just use the CLI and not even spin off a web server.
Maxime BeaucheminGUEST
9:46
So does that mean that if we have a REST API and a CLI that sits on top of it, Do we still allow for people to run a thick CLI autonomously or without having the need to have a web server running? So DAG Fetcher is something I've been talking about for a long time.
Maxime BeaucheminGUEST
10:09
is this idea, well, maybe I'll do the problem statement here.
Maxime BeaucheminGUEST
10:12
I think I have slides to explain some of that.
Maxime BeaucheminGUEST
10:15
So the way Airflow works today is we have this construct called a DAG bag, and we assume that we have a place in the file system on each machine in the airflow cluster where we have a whole bunch of definitions of DAGs.
Chandu KavarGUEST
1:30
So what can we test in Airflow? So you might have seen there are some broken decks on the UI.
Chandu KavarGUEST
1:36
So when I joined the grab on the prod UI, I can see if you few DAGs not able to input or pass by Airflow because of some typos or a cyclicity in the DAG.
Chandu KavarGUEST
1:46
Or let's say you want to enforce all your developer to have some mandatory parameters.
Chandu KavarGUEST
1:53
Let's say owner of the DAG or you might have an email in the DAG.
Chandu KavarGUEST
1:57
So basically you can enforce the mandatory parameter as well.
Chandu KavarGUEST
2:01
Other thing you can test is how many tasks in that one tag, what are the type of the task, task I mean operator, so Python operator, whatever the type of operator.
Chandu KavarGUEST
2:41
So if I will divide all this test into categories, so there will be five categories.
Chandu KavarGUEST
2:47
One is the validation test.
Bolke de BruinGUEST
11:18
And we've had a bit of a discussion with Max earlier.
Bolke de BruinGUEST
11:21
So he was a bit surprised that you do that on the instantiation of the actual operator instead of that it's hard coded into the DAG.
Bolke de BruinGUEST
11:34
Doing this at the instantiation of it makes it a bit more flexible.
Bolke de BruinGUEST
11:39
Because then through, and then for this we're actually using XCOM to communicate to the next task downstream.
Bolke de BruinGUEST
12:32
So.
Bolke de BruinGUEST
12:35
You can then change the code over time.
Bolke de BruinGUEST
12:37
It says previously, but previous DAG runs can then be repeated with new code.
Bolke de BruinGUEST
12:42
And data can be repaired by rerunning the new code, either by clearing tasks or doing backfills.
Percy LiangHOST
43:56
Maybe this is like really complicated.
Percy LiangHOST
43:59
And maybe this is, it could be kind of, as long as it's a DAG, it's fine, right? So I'm just gonna draw some stuff.
Percy LiangHOST
44:08
And suppose I'm interested in this node.
Percy LiangHOST
44:12
What is the Markov blanket? of this node is all its children, so these nodes are in the Markov blanket, and all its parents, okay? So these are all the local conditional distributions that touch, depend on this value.
Feng LuHOST
2:34
It is great.
Feng LuHOST
2:34
I mean, if you run Apache Outflow for experimenting and launching a small set of DAGs, it's great.
Feng LuHOST
2:42
But then there are a lot more you need to do to make it a managed service, to make it really at a production scale and quality.
Feng LuHOST
2:52
We'll continue.
Feng LuHOST
5:59
You have the CLI web interface and command line, which is really cool.
Feng LuHOST
6:05
lots of dependency management.
Feng LuHOST
6:06
You can really construct very fancy DAGs if you want to go that far.
Feng LuHOST
6:10
And then the nice thing is that you also have lots of connectors, operators, hooks to other services.
Bharanidharan SeetharamanGUEST
3:53
And we have something called sidecars in Kubernetes, which is nothing but another container which assists the main container.
Bharanidharan SeetharamanGUEST
4:03
When deploying on Kubernetes, we introduced the DAG sidecar through which you could pull your DAGs from different sources.
Bharanidharan SeetharamanGUEST
4:10
It could be from the GCS bucket, or Git, or an NFS, or even a DAG volume that's on your hard disk.
Bharanidharan SeetharamanGUEST
4:18
The advantage is it's a separation of concerns.
Bharanidharan SeetharamanGUEST
4:21
So it pulls all these DAGs and then your scheduler, and then starts your scheduler or worker.
Bharanidharan SeetharamanGUEST
4:29
And the DAG sidecar also has a mode where it periodically monitors for changes and then pulls the latest files for you.
Bharanidharan SeetharamanGUEST
4:37
But we haven't figured out the easy way of restarting scheduler and worker.
Bharanidharan SeetharamanGUEST
4:42
Maybe we'll look into that.
Randall LinGUEST
1:31
We do this on multiple versions of the pipelines or the tasks.
Randall LinGUEST
1:35
And to do that fast, our DAGs have to reflect the latest commit on that branch for fast iteration.
Randall LinGUEST
1:42
And as we're dealing with medical data, security is also of utmost importance.
Randall LinGUEST
1:48
So our solution is Airbender, and it addresses the problems.
Randall LinGUEST
2:16
then all you do is run airbender up.
Randall LinGUEST
2:20
You name your namespace that you want to be doing things in.
Randall LinGUEST
2:23
And after a few minutes, you'll have an IP you can go to, and you'll have your DAGs.
Randall LinGUEST
2:32
And two things to note, the code changes will just be immediately available to the tasks because they're spun up as they're run.
Mohamed ImamHOST
3:23
It really is.
Mohamed ImamHOST
3:24
We are exploring directed acyclic graphs or DAGs and diving into the highly complex sort of misunderstood world of instrumental variables.
Mohamed ImamHOST
3:35
Because understanding these concepts, I mean, it's no longer just a hobby for the statisticians.
speaker_2GUEST
3:39
No, not at all.
speaker_2GUEST
4:21
The maths doesn't know what a femur is.
Mohamed ImamHOST
4:23
Right.
Mohamed ImamHOST
4:23
And before we start drawing DAGs or talking about natural experiments, we actually need to pull back and look at the foundation of how we communicate.
Mohamed ImamHOST
4:33
The language we use in our journals is flawed.
AlanHOST
21:45
But if we actually look at the multivariate chain real carefully, we'll notice that if we know the FD parent for all of our parents, then we can calculate the FD self.
AlanHOST
21:54
by taking a weighted sum of dfd parent weighted into all of our various edges and we also always know the derivative of the root node dfdf is always one so if we can just do a gag order traversal doing these weighted sums then we have in fact solved our differentiation problem And I want to be clear here, this is a DAG order traversal, not a depth-first search.
AlanHOST
22:21
My first instinct whenever I see a graph is just to DFS it.
AlanHOST
22:23
That's not going to work well here.

22 MINS LATER

AlanHOST
44:13
This graph.
AlanHOST
44:14
So here we've actually kept the graph of the calculations as a graph.
AlanHOST
44:20
And we're propagating through in DAG order by following Khan's algorithm and actually yanking the node and mutating the graph each time.
AlanHOST
44:29
You'll note if you're very perceptive that this node right here was added in last and we yank it first.
Kenton DanisHOST
1:20
This was AIP 1.11.
Kenton DanisHOST
1:22
The idea here is this lets you repeat tasks in a task group during a DAG run until some condition is met or a maximum number of iterations is reached.
Kenton DanisHOST
1:33
That part is important.
Kenton DanisHOST
1:34
We'll come back to that.
Kenton DanisHOST
2:00
It's really quite straightforward.
Kenton DanisHOST
2:01
But what do you think about this?
Marc LambertiHOST
2:04
Yeah, I mean, you know, I think it's like more like, you know, I don't think it's a really important question about like, is DAG still a DAG? I mean, we are still talking about DAG here.
Marc LambertiHOST
2:17
I mean, when you think of it, even if we have this task loop in place, the way it works is that you have this task group and then you can attach the loop method on it.

11 more episodes mention Directed acyclic graph.

Create an account to see the whole feed, search across every transcript, and follow the entities you care about.

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.