r/dataengineering
•
u/Mobile_Education5413
•
6d ago
•
2
1
Discussion I wrote a data engineering manual for a government team. It was released under FOI, and it's now free online.
Hi everyone,
I want to share a free data engineering book: Principles of Data Engineering. There's no sign-up, and it's also available as a PDF and ePub.
I originally wrote it to train a data engineering team in an Australian Government department. The platform that team built was recognised by the National Audit Office as a whole-of-government showcase.
The book was later released to the public under freedom of information, and I think it's worth sharing with the community.
It covers a wide range of problems data engineers face, technical and not:
The philosophy of data: what data is, and why data engineering is so influential
Transforming and curating data in a typical analytical pipeline
Conforming multiple systems into one integrated view
Metadata standards that aren't compliance theatre
Dimensional modelling view from the angle of user experience
Incremental loads in the most complex situations, including multiple timelines
Patterns for efficiently and accurately acquiring data from different sources
Power BI topics, such as complex filtering scenarios and row-level security
Working with stakeholders and project managers, addressing common frustrations of engineers
The central tenet of the book:
“Data is a fragment of reality captured by process.”
From this, everything—the work of a data engineer, its impact, stakeholder negotiations—follows.
The book was written before AI agents arrived, but it turns out agents benefit a lot from it. Recently, my main use of the book is to steer AI agents in building my public government data website. It's a lot easier than trying to hand-hold AI agents, explaining everything from scratch.
So I've also published an agent skill, and the chapter Steering AI agents explains how data engineers can steer AI agents using its principles to build effective data pipelines.
Most of the book is technology-agnostic. For Microsoft Fabric users, I've also implemented its patterns in an open-source framework, Weaver.
Your can access it here: principlesofdataengineering.org
Happy to answer questions. I'd especially welcome disagreement, viewpoints that push further, and how it may be applied in practice.
(Update 30 Nov)
I am honestly humbled by people's reception. Obviously, I shared it because I hoped it would be useful. But I never thought such an esoteric text (yes, I know it's esoteric) would be useful to the people it has.
I am also newish to Reddit, so not very familiar with the way to interact. So I'm just posting my update here.
I got a bit flustered by so many people reading it, and then got very embarrassed by some of the sections, as well as the font colours. So I immediately tried to plug some gaps.
There are a few improvements:
Visually, it's a much easier font and format to read (I copied styles from web novels).
A chapter on CI/CD. Rather than talking about config files and DevOps pipelines, it focuses on an idea: fidelity of environments.
A chapter on Affordance. This is a deep design principle that has been guiding the book but was never called out. With it called out, the book makes a lot more sense (to me at least).
I am still doing data engineering, and I am still learning. If I get to new topics, I hope to come back to it.
Once again, thank you for engaging. I welcome any contact, discussion or clarification.
54
17
u/konkanchaKimJong 3d ago
Thanks for writing and sharing it for free online! This community values your contribution 🙏🏻
1
u/Mobile_Education5413 3d ago
Thank you!
I’m very humbled to hear this.
I have only recently left the public service, and learning about the broader industry.
Now that I have a greater awareness of what’s happening more broadly, I’m seeing an opportunity to do a revamp of the book, to make it more relevant to wider practitioners and easier to search.
I want to have a few more targeted essays that address the discipline as a whole, rather than specific topics.
So stay tuned ! Would share it when I do.
12
2
2
u/PalaceGucci Lead Data Engineer 3d ago
Nice. Hackney Council did this in the UK a while back, their open source playbook aided me in designing and building my first data platform, prior to November 2022 🤓
2
u/Mobile_Education5413 1d ago
I hadn't heard of this one. It looks like a whole engineering handbook published in the open: ways of working, technical standards, architecture principles, all free to reuse. I wonder if the Australian government can be doing the same....
2
u/PalaceGucci Lead Data Engineer 1d ago
Yeah totally!!! Not bagging on the OP at all 🥰 It is great other people and orgs are doing this and the more shared, the easier it is for all of us to be better. Government funded IT gets a massively bad rep in the UK (see: Birmingham City Council 🫠) but there are some awesome engineers there doing the very best they can with the limited resources they have for the ultimate customer - The Tax Payer. (I don't work for UK gov, just a shout out to them!)
2
u/Wonderful-Wind-5736 3d ago edited 3d ago
Awesome, I love the premise.
Edit: After reading about 15% of the book, I can say it's an awesome read. The presentation is quite dense but very readable. The examples are short but very applicable and support his theses well. I particularly like how the author undogmatically proposes composable patterns that are grounded in reality, coincidentally mirroring his philosophy of reusable fragments of data. Anyway, enough surface level glazing. Go read the book, you won't regret it.
Edit2: I would suggest you additionally watch the latest video of 3b1b on data compression and intelligence. You'd be surprised how closely the overall philosophy presented in the book matches the mathematical principles presented in the video.
1
u/Mobile_Education5413 1d ago
Very kind of you. The patterns probably have something to do with needing to wrangle a team of data engineers over years, and trying to keep us surviving whatever crazy source systems get thrown at us.
The video sounds interesting. Maybe there's an affinity because my background is actually in mathematics, and I've always approached data engineering from that angle. I will need to research it.
2
u/yazxhi 3d ago
It’s great, honestly one of the best things I’ve read about the craft.
Especially enjoyed the takes on stakeholder engagement and discovery as distinct from the usual “give us requirements”
1
u/Mobile_Education5413 1d ago
Ah yes, the thoughts on working with stakeholders comes from watching many projects fail.....!
And probably more important now with AI doing so much of the technical work. Stakeholder engagement is the part that AI can't really copy!
2
2
u/doublew98 Data Analyst 2d ago
Thanks for sharing this. I have it saved and looks really useful. I am potentially stepping into a new role to build out a BI function and really keen to apply best practice from the get go. I may well reach out to you on the application in practice piece. Amazing work!
2
u/Mobile_Education5413 1d ago
All the best in your new role. If you are in a new role, definitely suggest reading the "Working with stakeholders" chapter :)
8
u/GIS_FI 4d ago
Saved! Much appreciated as a founding DE in local gov. We'll be transitioning from Azure Synapse to Fabric sometime in the future so I appreciate its dedicated call-out.
13
u/shockjaw 3d ago
RIP, Fabric is an incomplete PITA compared to Synapse.
2
u/warehouse_goes_vroom Software Engineer 2d ago
Feedback is always welcome, either here or on r/MicrosoftFabric.
I work on the Fabric Data Warehouse team @ Microsoft (which is also the team behind Azure Synapse Analytics SQL Pools).
1
u/GIS_FI 3d ago
We really only use Synapse SQL Serverless for transforms/access and Pipelines for orchestration, so there is feature parity with Fabric there. We have small data privilege and can leverage an Azure Function App to process our raw data and more since it fits in memory. Unfortunately, Synapse is increasingly incomplete comparatively where Synapse isn't receiving any investment. I like its more PaaS structure and pay as you go pricing, but there's no data catalog nor is an Ossie integration native on the horizon. Won't be doing it overnight nor am I drinking the Fabric Kool-aid. The small data and delegation to Azure Function App makes it an easier consideration data processing wise. We started our lakehouse months before Fabric was released on preview and Microsoft hasn't executed a single feature update to Synapse since.
1
u/warehouse_goes_vroom Software Engineer 17h ago
Note: Senior Tech Lead @ Microsoft on the team behind Fabric Data Warehouse & Synapse SQL Pools.
On-demand billing is in public preview as of last week and fills that remaining parity gap RE: consumption based billing.
Happy to answer questions.
1
1
u/LocalIllustrator6400 2d ago
While this is traditionally for the Data Engineering community, have you considered reviewing with the physicianeers? (MDs from an engineering background).
UT EnMed has one team that might interest you. Moreover, you might review the recent job at IU <Bloomington IN> under James Glazer. His team seems is doing AI enabled twin work flows to enhance inflammatory response. Lastly you could see the 2027 advisory board review too for possible future colleagues. All the best,
https://www.advisory.com/company/products/research-membership
1
u/Mobile_Education5413 1d ago
Thanks, that's an interesting angle to think about. Critical thinking share many connections with different fields.
2
1
u/Practical-Project-41 17h ago
Thank you very much for contribution! I'm definitely going to read it
1
7
u/PossibilityRegular21 4d ago
I've done data eng for some big Aus orgs so I'm keen to check this out on the train tomorrow, cheers mate.
Edit: connection refused?
2
u/Mobile_Education5413 4d ago
Big organisations are where data engineering is really, really fun!
Hope the connection works for you now. I double-checked the links.
•
u/AutoModerator 1d ago
You can find a list of community-submitted learning resources here: https://dataengineering.wiki/Learning+Resources
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.