Software Development

Best strategies for implementing Medallion Architecture using Delta Live Tables for real-time data?

KE Asked by Kevin Porter · 05-01-2025
0 upvotes 11,104 views 0 comments
The question

I am trying to build a streaming pipeline using the Medallion Architecture (Bronze, Silver, Gold). Should I use Delta Live Tables (DLT) or stick to standard Structured Streaming? I am specifically worried about handling late-arriving data and schema evolution without breaking the downstream Gold tables.

3 answers

0
LA
Answered on 07-01-2025

Delta Live Tables (DLT) is the way to go if you want to simplify the operational complexity of the Medallion Architecture. It handles the underlying infrastructure and checkpointing for you. For late-arriving data, you can use the "expectations" feature to define data quality rules. If data doesn't meet the criteria, it can be dropped or flagged for review. Schema evolution is also much cleaner in DLT; you can set it to automatically evolve the schema or fail the pipeline if a breaking change is detected, ensuring your Gold tables remain clean.

0
BR
Answered on 09-01-2025

Are you dealing with high-volume streaming data where sub-second latency is required, or is a minute-level refresh rate acceptable for your business use case?

KE 10-01-2025

Brian, a minute-level refresh is perfectly fine for our reporting needs. We aren't doing high-frequency trading, just real-time inventory monitoring. My concern is mostly about how DLT handles retries when a transient network error occurs during the Silver to Gold transformation. Is there a built-in retry logic that doesn't require us to write custom exception handlers?

0
RA
Answered on 11-01-2025

Use DLT for the "declarative" approach. It allows you to focus on the SQL or Python logic of the data transformation rather than managing the cluster lifecycle.

LA 12-01-2025

Exactly, Rachel. The fact that DLT handles the DAG generation automatically makes it much easier to onboard new developers who might not be Spark experts yet.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session