Platform Engineering & DDD


Platform Engineering & DDD

Corey
Welcome back! Today we're diving into a talk by Gregor Hohpe that connects platform engineering with domain-driven design. He started by noting how every topic goes through a hype cycle — first everyone argues about definitions, then people put their own labels on it, then come the experience reports, and finally someone says 'you got it all wrong.' His talk is a bit of all that.

Michael
And the key connection he makes is that DDD got a huge boost from microservices, even though Eric Evans' book came out in 2003, long before microservices were a thing. Now Gregor thinks platforms could give DDD another boost — or vice versa. So the two ideas should be much more tightly linked.

Corey
Right. He also points out that our relationship with technology is a two-way street: we push technology, but technology pushes back with complexity. And we've made it worse by pushing everything left — now we expect a single developer to be a product owner, security expert, ops expert, and maybe write some code. That's insane cognitive load.

Michael
So the solution sounds like a platform. But Gregor warns that platforms aren't about just reusing a common layer to cut costs — that's the old pyramid model where you anticipate everyone's needs and leave only a tiny tip of custom work. That doesn't work because you can't anticipate innovation, and if you could, you'd be eliminating it.

Corey
Instead, the platform picture is a double pyramid. The bottom half is shared infrastructure, but the top half is where diversity and innovation happen. The goal isn't to shrink that top half — it's to enable more variety, more models. He uses a car metaphor: Volkswagen started with Golf and Jetta, but with a platform strategy they went from 3 models to over 30. The platform didn't reduce the number of models; it made more models economically feasible.

Michael
And there's a great test for whether you've built a real platform: if your users create something that genuinely surprises you. If they never do, you probably just built a narrow pyramid, not a platform. The temptation is to shrink that top half because it seems like extra work, but that's the Cadillac Cimarron effect — taking a Chevy Cavalier, adding options, and calling it a Cadillac. Nobody buys it.

Corey
So what makes a platform different? Gregor says platforms are 'reified architecture' — they bring architectural decisions to life as running software. Instead of just drawing pictures of microservices and resilience, your platform provides the runtime, communication patterns, observability, and pipelines that embody those decisions. But he often sees architects' pictures and platform teams' work being completely disconnected.

Michael
And the static box diagram of 'application on top, platform below' doesn't capture the dynamic advantage. The real difference shows up when you plot the software delivery cycle: in the old model, you throw code over the wall to ops, and they throw it back when it fails. A platform team should not be in that loop — they're like the axle or grease making the wheel spin faster. They're a vending machine, not a waiter taking tickets.

Corey
But platform teams serve two very different customers: sponsors (leadership, compliance) care about reuse and governance, while development teams care about speed and ease of use. Gregor warns against selling the wrong value to the wrong audience. Don't tell dev teams about reuse — they don't care. Your value proposition has to be different in each direction.

Michael
And one of the biggest traps is rebranding your existing infrastructure team as a platform team. They know the tech, but their mindset is all about tickets, governance, and boxing people in. A platform team needs a product mindset: customer-centric, self-service, transparent, enabling. You need to mix application-side folks with infrastructure people to get the right culture.

Corey
That cultural mismatch often shows up as all the budget going into guardrails — because you can sell governance to sponsors — and nothing left for the actual path. But guardrails are a last resort. What you really want is lane assist: early feedback baked into the platform so teams never hit the guardrail in the first place. Hitting a guardrail is a late security review that kills a project.

Michael
Now let's talk about abstraction, which is how platforms reduce cognitive load. The hardest part is naming things. Engineers naturally name things by how they're built — like 'piston-crankshaft-gear-wheel assembly' — but good abstractions name things by what they do. Think 'accelerator' instead of 'gas pedal' — an electric car has no gas, but it has an accelerator. A good abstraction doesn't leak the implementation.

Corey
Another trap is confusing defaults with abstraction. Taking away settings doesn't make something simpler — it's like removing pieces from a puzzle. That's convenience, not abstraction. Real abstraction creates a new vocabulary that hides noise and reveals what's essential. Gregor gives the example of AWS patterns named 'Lambda SQS Lambda' — that's not an abstraction because it still uses the underlying language.

Michael
And beware of illusions: pretending something is simpler than it really is. RPC tried to make remote calls look like local ones, but remoteness changes everything — latency, partial failures, idempotency. That illusion comes back to bite you. You want to make complexity approachable, not pretend it doesn't exist. A magic 'do the right thing' method has huge cognitive load because nobody knows what's happening inside.

Corey
Failure does not respect abstraction. When something goes wrong, all the underlying reality bubbles back up. So you need traceability — like a compiler that maps line numbers back to source code. Your platform should tag resources so when a cloud service fails, teams can link it back to the platform abstraction.

Michael
So where does domain-driven design come in? Gregor says platform teams need to understand their own domain — the domain of distributed systems, cloud services, and deployment. But to create real value, you need to combine the technical domain with the business domain. Cloud providers can give you a better DynamoDB, but only you can create a 'customer database' configured for PII or a 'ledger database' that tracks all changes. Those services live at the intersection of business and technology.

Corey
And that's real abstraction: the underlying cloud services don't know about ledgers or PII policies. You're providing something the cloud provider fundamentally cannot deliver because it's specific to your regulations, your industry, your internal guidelines. That's how platforms add value beyond just wrapping cloud APIs.

Michael
But even with good abstractions, you have to respect physical limitations. Logical abstractions can't overcome cloud provider quirks: different service availability in regions, different cost structures, quotas. No abstraction can make that go away. And your platform will naturally grow as customers request features — but protect composability above all. Think Lego: one brick does almost nothing, but the ability to combine them is powerful. A platform with tons of features that don't compose well is worse than a smaller, more composable one.

Corey
Finally, what about AI? Can it just generate the APIs and make all this thinking obsolete? Gregor asked Claude, and Claude said it's useful but still requires human expertise. Defining what's essential, creating abstractions, and modeling domains are deeply human judgment calls. AI is a booster, not a replacement. So don't believe the illusion that AI will solve it all.

Michael
Great takeaway. Platforms are about enabling innovation and diversity, not just cutting costs. They're reified architecture, they need the right mindset, they live at the intersection of business and technical domains, and they must protect composability. And never confuse convenience with true abstraction. Thanks for walking through this, Corey!

Corey
Absolutely. And as Gregor says, don't always trust your eyes — some illusions are fun, but in software engineering, illusions just lead to failure. Build platforms that are honest about complexity and make it approachable. That's the path to real value.

Ask anything
We've read this whole study set, so questions about it get the best answers.