Skip to content

Architecture

Event Driven Architecture Doesn’t Eliminate Coupling

So you make what seems like a harmless change to an event that you’re publishing. Suddenly, a consumer of that event starts behaving incorrectly, and you’re left wondering, “I thought event driven architecture was supposed to prevent these issues. We replace direct API calls with events, put a message broker in the middle, and now our services can evolve independently, right?” YouTube Check out my YouTube channel, where I post all kinds of content on Software Architecture & Design, including this video showing everything in this post. Loose Coupling Doesn’t Mean No Coupling Well, not necessarily. Don’t get me wrong, I’m a… Read More »Event Driven Architecture Doesn’t Eliminate Coupling

Why Database Generated IDs Can Complicate Your System Design

When you’re creating something in your system, where does the ID come from? For most, it’s probably the database. Database generated IDs are pretty straightforward, and you’re probably used to them if you’ve done a lot of CRUD. But why is your database responsible for generating the ID? This seemingly simple decision can have a pretty big impact on your overall system design when you start thinking about asynchronous processing, messaging, and different boundaries. YouTube Check out my YouTube channel, where I post all kinds of content on Software Architecture & Design, including this video showing everything in this post. You have… Read More »Why Database Generated IDs Can Complicate Your System Design

5 Event Driven Architecture Problems (And How to Avoid Them)

“We switched to event driven architecture. Now we can’t debug anything.” A member of my channel shared a post with me where a team went all in on event driven architecture and ran into a bunch of problems. The thing is, they’re not wrong about the pain they experienced. But the problems weren’t directly because of event driven architecture. They were mostly caused by how they understood it and how they were applying it. So let’s break down the five pain points they had, why they had that pain, and how you can avoid it. YouTube Check out my YouTube channel, where… Read More »5 Event Driven Architecture Problems (And How to Avoid Them)