r/dataengineering • • 5d ago • Heartwarming 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.

448 Upvotes

28 comments sorted by

•

u/AutoModerator 48m 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.

49

u/GoalSouthern6455 Principal Data Engineer 3d ago

That’s awesome cheers bro

11

u/Mobile_Education5413 2d ago

thanks!

hope it is useful to folks!

11

u/konkanchaKimJong 2d ago

Thanks for writing and sharing it for free online! This community values your contribution 🙏🏻

1

u/Mobile_Education5413 2d 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.

11

u/CrayonUpMyNose 3d ago

Quick spelling correction: *tenet 

14

u/Mobile_Education5413 2d ago

got it!

At least it proves the line was written by human 😂

2

u/meshakooo 2d ago

Appreciate it

1

u/Mobile_Education5413 40m ago

thank you! hope it's been helpful, and appreciate on-share.

2

u/PalaceGucci Lead Data Engineer 2d 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 🤓

https://playbook.hackney.gov.uk/

1

u/Mobile_Education5413 40m 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/Wonderful-Wind-5736 2d ago edited 1d 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 35m 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 2d 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 44m 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

u/riddims22 2d ago

Thank you very much for this. Just arrived in time

1

u/Mobile_Education5413 46m ago

Pleasure. I am glad it has been helpful!.

2

u/doublew98 Data Analyst 1d 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!

1

u/Mobile_Education5413 18m ago

All the best in your new role. If you are in a new role, definitely suggest reading the "Working with stakeholders" chapter :)

1

u/LocalIllustrator6400 1d 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 42m ago

Thanks, that's an interesting angle to think about. Critical thinking share many connections with different fields.

6

u/GIS_FI 2d 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.

12

u/shockjaw 2d ago

RIP, Fabric is an incomplete PITA compared to Synapse.

→ More replies (3)

7

u/PossibilityRegular21 3d 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 2d ago

Big organisations are where data engineering is really, really fun!

Hope the connection works for you now. I double-checked the links.