Skip to content

Database Migration Strategies

Database migrations gone wrong. You deploy a new feature in your app and suddenly half of it breaks. You start digging through your logs and realize it’s a database schema change that’s causing all the issues. Now you’re scrambling, wondering if you can roll back your code changes. Nope, the damage is done. You have to roll forward and fix everything as fast as possible. This whole mess could be managed better if you handle your database migration correctly and understand that backwards compatibility is key. YouTube Check out my YouTube channel, where I post all kinds of content on Software Architecture… Read More »Database Migration Strategies

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

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

.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!