Skip to content

Stop Blaming Event-Driven Architecture

So, you adopted event-driven architecture because your system was a rat’s nest of coupling, and events were the answer to decouple it. But now debugging is a nightmare. You have events coming in out of order. You have retries causing duplicates and multiple different side effects. Local development is a pain. It’s frustrating, right? But we use events for a reason. 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. Events can help us reduce temporal coupling within our system. We can have a publisher… Read More »Stop Blaming Event-Driven Architecture

Solving the ‘God Object’ Problem with Shared Identity

You start with a simple entity. Then, over time, you add more and more properties. The next thing you know, you have a god object sitting at the center of your system. Everything touches it. Everything depends on it. Every workflow flows through it. And whenever you need to make a change, you hope it doesn’t break something else. At some point, you start wondering: how did we end up here? 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. For a lot of systems,… Read More »Solving the ‘God Object’ Problem with Shared Identity

Modular Monolith Boundaries Done Wrong

So you built a modular monolith. You have a clean structure. Different projects. Everything broken into modules. But somehow, when you make a change, it still ripples through the rest of your system. Why? Because its highly coupled. 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. As an example, let’s say you have an HR module. You change an employee’s work status, and all of a sudden, that affects authentication. Or you’re in a transportation system, and you change a vehicle’s compliance status, and… Read More »Modular Monolith Boundaries Done Wrong