Skip to content

Distributed Systems Mistakes Nobody Warns You About: Consistency

One of the most common and very overlooked issues when writing a distributed system is consistency. You have one thing happening in one part of your system that triggers something else to happen in another part of the system, except it doesn’t happen. And that can be a nightmare to deal with. This problem is incredibly overlooked but incredibly common. Let’s dive into an example to illustrate what I mean. 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. Example: Asynchronous Processing Here’s a simple… Read More »Distributed Systems Mistakes Nobody Warns You About: Consistency

Sponsor: Using RabbitMQ or Azure Service Bus in your .NET systems? Well, you could just use their SDKs and roll your own serialization, routing, outbox, retries, and telemetry. I mean, seriously, how hard could it be?

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

.NET Channels as a In-Memory Message Bus – Beware!

If you’re looking at using .NET Channels as a replacement for a MediatR, or if you’re not in .NET but searching for an in-memory producer-consumer API, hang on a second—because you might be in for a pile of pain. That’s not actually what you want. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Channels in .NET: A Simple Example Let me give you a really simple example of channels in C#. If you’re not using .NET, you’ll totally understand the gist of this because it’s pretty… Read More ».NET Channels as a In-Memory Message Bus – Beware!

5 Mistakes That Make Your Code Unmaintainable

Here are my 5 most common mistakes in software design that make your code a nightmare to work with. All of these mistakes make your code unmaintainable over time as it grows. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. 1. Invalid State and Data Consistency Issues The first mistake is related to data ending up in an invalid state and having consistency issues. This usually happens because you don’t have good control over what’s changing state. Imagine you have two different boundaries in your system… Read More »5 Mistakes That Make Your Code Unmaintainable