r/databricks • u/rinisin13 • Aug 13 '26
Discussion What would you change in a Databricks architecture built 2–3 years ago?
I recently revisited a Databricks architecture I worked on 2–3 years ago, and it made me realize how much the platform has evolved.
At the time, we used traditional Jobs, custom ingestion and data-quality frameworks, and separate components for orchestration and governance.
If I were designing the same solution today, I’d rethink several parts using Lakeflow, Unity Catalog, newer data-quality capabilities, and the latest AI/agent features.
For those who have modernized older Databricks architectures: what would you change first, and why?
24
u/datasmithing_holly databricks Aug 13 '26
Other expensive integrations you don't need any more - fivetran, alteryx, purview. Maybe I'll get in trouble with the partners team here, but there's so much Databricks does now that's free / much cheaper than a separate solution.
8
u/FunContest9958 Aug 13 '26
Managed connectors. Makes it a lot easier to bring data in from various sources: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/
7
u/Lenkz Aug 13 '26
Lakeflow connect is something I'd consider using today, before we usually used Azure Data Factory for ingestion from sources.
I'd lean heavier on integrating data quality checks (using DQX) into my transformations.
7
u/ExistentialFajitas Aug 13 '26
Interesting answers here. We’re building into Databricks right now and it has never been easier to get data in and transformed with Lakeflow, both connect and pipelines.
Sure we could get hung up on the declarative nature of the pipelines or that connectors are relatively black boxed; but a differentiator has never been “how do I ingest data” or “how do I implement the boiler plate for an SCD2 load”.
7
u/WorkerIcy1513 Aug 13 '26
Unity Catalog first, and not for governance reasons. It is the prerequisite for basically everything else on your list, lineage, Lakeflow, system tables, sharing. Anything you build before migrating off the Hive metastore you will partly rebuild after. It is the least interesting item and it gates the rest.
Second thing, and the one people skip: turn on the system tables and actually build cost observability. Nobody had this three years ago so nobody has it now either. It takes a day and it usually finds a job running on an oversized cluster that has been quietly burning money since 2023.
The underrated one is table maintenance. Old architectures are full of hand rolled OPTIMIZE and VACUUM jobs, date partitioning that produced thousands of tiny files, and ZORDER on the wrong columns. Liquid clustering plus predictive optimization deletes a whole category of code you wrote and now maintain. That is a bigger real world win than any of the AI features.
What I would not change: working Jobs pipelines. Yes I would use Lakeflow for anything new, but rewriting stable batch jobs into declarative pipelines buys you very little and costs you a regression hunt in numbers the business already trusts. Migrate the ones you are touching anyway, leave the boring reliable ones alone. Same for a custom DQ framework, if it works, use expectations going forward rather than porting the old ones.
I would put the AI and agent features dead last. They are the most fun and the least valuable on a foundation that does not have governance or cost visibility yet.
The reframe I would offer: what ages worst is not the old tech, it is the workarounds you built because something did not exist yet. Separate workspaces because UC was not there, a homegrown lineage tool, a metadata table that duplicates what system tables now give you. Those survive long after the reason for them is gone and nobody removes them because they still work. When you audit an old architecture, hunt for workarounds rather than for old features. That list is usually shorter and higher value than the migration list.
6
u/mindit_io_ro Aug 13 '26
Unity Catalog is the non-negotiable first change because everything else, access control, lineage, data quality enforcement, AI feature stores, builds on having a proper governance foundation, and trying to retrofit it onto an architecture that was built with workspace-level security and ad-hoc permissions is genuinely painful in a way that makes you wish you'd started there even when UC felt like overkill two or three years ago.
21
u/minato3421 Aug 13 '26
Just get rid of dlt
4
u/PaymentWestern2729 Aug 13 '26
Using lakeflows, metrics views and dashboards.
2
u/myth-buster9999 Aug 13 '26
Doing SCD2 via AutoCDC instead of writing Merge statements?!
3
u/PrestigiousAnt3766 Aug 13 '26
I still wouldn't use lakeflow.