WEBVTT

00:00:00.000 --> 00:00:07.200
Welcome to the Leaders Insights Podcast.

00:00:07.200 --> 00:00:13.600
Today's episode how Cloudflare rebuilt its data stack around DBT 5-Tran and Airflow.

00:00:13.600 --> 00:00:17.600
Cloudflare just published a case study on how they tore out their old data pipelines

00:00:17.600 --> 00:00:21.480
and rebuilt everything around DBT 5-Tran and Airflow.

00:00:21.480 --> 00:00:26.360
For a company routing something like 20% of web traffic, that's not a small remodel.

00:00:26.360 --> 00:00:28.880
Why should anyone outside their data team care?

00:00:28.880 --> 00:00:33.960
Because Cloudflare hit the exact wall every scaling company hits, just louder.

00:00:33.960 --> 00:00:38.640
They had hand-coded SQL pipelines and a mess of ingestion scripts.

00:00:38.640 --> 00:00:40.160
All qi xin.

00:00:40.160 --> 00:00:44.440
The little programs that pull data from one system into another, and nobody wanted to

00:00:44.440 --> 00:00:45.800
touch them.

00:00:45.800 --> 00:00:49.080
When your data plumbing becomes haunted, analysis stops.

00:00:49.080 --> 00:00:51.640
That's the part that matters.

00:00:51.640 --> 00:00:56.640
Broken pipelines don't just annoy engineers, they starve the business of answers.

00:00:56.640 --> 00:00:58.520
Cloudflare is doing a lot of work there.

00:00:58.520 --> 00:01:01.080
What actually breaks when SQL is hand-coded?

00:01:01.080 --> 00:01:03.080
Fragility and fear.

00:01:03.080 --> 00:01:09.760
Someone writes a 400-line query in 2021, they leave, and now it's load-bearing and undocumented.

00:01:09.760 --> 00:01:14.600
Change one column upstream and three dashboards silently lie to you.

00:01:14.600 --> 00:01:19.640
Cloudflare's own write-up describes scripts no engineer wanted to touch.

00:01:19.640 --> 00:01:20.800
That's the tell.

00:01:20.800 --> 00:01:25.600
When the fix is scarier than the bug, you've got a graveyard, not a data stack.

00:01:25.600 --> 00:01:29.200
So they move to ELT, spell that out before I fall asleep.

00:01:29.200 --> 00:01:33.240
ELT, Extract, Load, Transform.

00:01:33.240 --> 00:01:35.080
The old way was ETL.

00:01:35.080 --> 00:01:39.040
You transform the data before it lands in the warehouse, meaning you shape it while

00:01:39.040 --> 00:01:41.320
it's in flight, which is brittle.

00:01:41.320 --> 00:01:43.920
ELT flips the last two steps.

00:01:43.920 --> 00:01:49.120
You dump the raw data into the warehouse first, then transform it there with SQL.

00:01:49.120 --> 00:01:51.120
You can actually see and test.

00:01:51.120 --> 00:01:55.560
The warehouse is cheap and fast enough now that hoarding raw data isn't the sin it was

00:01:55.560 --> 00:01:56.560
ten years ago.

00:01:56.560 --> 00:01:59.480
Fine, but that's three vendors stitched together.

00:01:59.480 --> 00:02:02.200
5tran, dbt, airflow?

00:02:02.200 --> 00:02:05.300
Isn't that just trading haunted scripts for a subscription pile?

00:02:05.300 --> 00:02:07.840
It can be, if you're lazy about it.

00:02:07.840 --> 00:02:10.480
But each tool kills a specific pain.

00:02:10.480 --> 00:02:15.920
5tran does the extract and load, the boring breakable connector work between, say,

00:02:15.920 --> 00:02:18.600
Salesforce and your warehouse.

00:02:18.600 --> 00:02:22.120
That's the stuff engineers hate maintaining, so you rent it.

00:02:22.120 --> 00:02:26.040
dbt, data build tool, handles the transform.

00:02:26.040 --> 00:02:31.900
It lets analysts write modular SQL with version control and tests so a change gets caught before

00:02:31.900 --> 00:02:33.680
it poisons a dashboard.

00:02:33.680 --> 00:02:34.680
An airflow?

00:02:34.680 --> 00:02:40.080
Airflow is the orchestrator, the scheduler that decides what runs, in what order, and

00:02:40.080 --> 00:02:42.720
screams when something fails.

00:02:42.720 --> 00:02:46.000
Think of it as air traffic control for your data jobs.

00:02:46.000 --> 00:02:50.040
Without it, you've got a hundred cron jobs firing blind and no idea which one broke the

00:02:50.040 --> 00:02:51.040
morning report.

00:02:51.040 --> 00:02:53.040
Here's the uncomfortable one.

00:02:53.040 --> 00:02:57.080
5tran charges by data volume by monthly active rows.

00:02:57.080 --> 00:03:00.880
For a company at CloudFlare's scale, doesn't that bill get insane?

00:03:00.880 --> 00:03:02.600
It absolutely can.

00:03:02.600 --> 00:03:06.800
And that's the honest catch nobody in the vendor blog post wants to dwell on.

00:03:06.800 --> 00:03:11.840
5tran's pricing is consumption-based, so a chatty source table can quietly cost you

00:03:11.840 --> 00:03:13.780
five figures a month.

00:03:13.780 --> 00:03:16.780
The trade you're making is engineering time for money.

00:03:16.780 --> 00:03:21.820
If your engineers are worth more building your product than babysitting a sales force connector,

00:03:21.820 --> 00:03:23.460
you pay 5tran.

00:03:23.460 --> 00:03:28.500
If you're a startup with cheap time and expensive cash, maybe you don't.

00:03:28.500 --> 00:03:30.980
CloudFlare made the first call.

00:03:30.980 --> 00:03:31.980
Not everyone should.

00:03:31.980 --> 00:03:35.260
So, what did this shift actually require in practice?

00:03:35.260 --> 00:03:37.460
Beyond swiping the corporate card?

00:03:37.460 --> 00:03:38.860
Discipline mostly.

00:03:38.860 --> 00:03:43.060
dbt only works if people write tests and document their models.

00:03:43.060 --> 00:03:46.500
Otherwise you've rebuilt the graveyard with nicer tools.

00:03:46.500 --> 00:03:49.780
The real work at CloudFlare wasn't installing software.

00:03:49.780 --> 00:03:51.620
It was defining ownership.

00:03:51.620 --> 00:03:53.220
Who owns which data model?

00:03:53.220 --> 00:03:55.720
Who gets paged when it breaks?

00:03:55.720 --> 00:03:57.220
Tooling doesn't fix culture.

00:03:57.220 --> 00:03:59.660
It just exposes whether you have any.

00:03:59.660 --> 00:04:01.460
That's the part everyone skips.

00:04:01.460 --> 00:04:02.760
Every time.

00:04:02.760 --> 00:04:05.540
People think buying dbt makes them modern.

00:04:05.540 --> 00:04:08.260
Buying dbt makes you a company with dbt.

00:04:08.260 --> 00:04:13.400
The governance, knowing what's trustworthy and who's accountable, is the actual product.

00:04:13.400 --> 00:04:16.280
Give me the one thing a listener does Monday morning.

00:04:16.280 --> 00:04:18.080
Find your scariest query.

00:04:18.080 --> 00:04:20.480
The one nobody will touch.

00:04:20.480 --> 00:04:23.260
Open it and try to answer three questions.

00:04:23.260 --> 00:04:26.380
What feeds it, what depends on it, and who owns it.

00:04:26.380 --> 00:04:30.980
If you can't answer all three in 10 minutes, you've found your haunted house.

00:04:30.980 --> 00:04:32.960
And that's where your rebuild starts.

00:04:32.960 --> 00:04:34.620
Not with a vendor demo.

00:04:34.620 --> 00:04:36.460
Start with the thing you're afraid of.

00:04:36.460 --> 00:04:37.740
I'll take it.

00:04:37.740 --> 00:04:38.740
That's it.

00:04:38.740 --> 00:04:41.180
The CDO Decision Tools are live at MBA-training.com.
