Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

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

Architecture

CAP Theorem, CQRS and Eventually Consistent

First, if you haven’t heard of Eric Brewer’s CAP theorem, it basically states that you can must choose two of three: Consistency Availability Partition Tolerance CQRS doesn’t solve CAP issues, however it allows you to decide independently what is important on both read and write side. For example, you could assume a systems would be ACID (Atomic, Consistent, Isolated, Durable) compliant on the write/domain site and BASE (Basic Availability, Soft-State, Eventually Consistent) on the read side. Eventual consistency is something that requires a change of mindset.  Because of our heavy use in ACID compliant databases, thinking about possibly having stale data blows our mind. There… Read More »CAP Theorem, CQRS and Eventually Consistent

Greg Young: 8 Lines of Code

Greg Young gave a good talk titled 8 Lines of Code, discussing simplicity, dependencies, and magic. Magic is always something I try and identify and stay away from in my own code, however I really failed to realize how much magic goes on in some of the libraries/frameworks that I often use.  Entity Framework and nHibernate come to mind.  You really should understand the magic happening in these libraries to use them.  Which is very problematic. If you take the dependency ownership seriously, then a lot of folks developing the front-end of a “modern” web applications are in a world of… Read More »Greg Young: 8 Lines of Code

Service Bus for Windows Server

Move over MSMQ, Service Bus for Windows Server was recently released.  Apparently it has been for awhile now (Oct 2012 release).  I’m just late to the party I guess. Service Bus 1.0 was designed to allow for enterprise messaging capabilities in a Windows Server-based environment.  It enables you to build, test, and run loosely-coupled, message-driven applications in self-managed environments and on developer computers.  The two primary features are Service Bus Queues and Service Bus Topics and Subscriptions. Service Bus Queues offer reliable message storage and retrieval with a choice of protocols and APIs. Use Service Bus queue in your application to provide load leveling by having the… Read More »Service Bus for Windows Server