
Hello and welcome back to Architecting Zero Downtime Infrastructure! It’s great to have you here with me again.
When we sit down to design a system that absolutely, positively cannot fail, one of the first and most fundamental questions we have to answer revolves around its data. Should our compute nodes share a single, central source of truth? Or should each node be a self-sufficient island, holding its own independent copy?
This single decision fundamentally defines your architecture. It’s the fork in the road from which almost every other design choice will follow. And it brings us right to the heart of today’s episode: the two foundational approaches to high-availability storage.
We’re going to explore shared storage, where all your servers connect to one common pool of data, and shared-nothing, where each server has its own private, dedicated storage. Ready? Let’s dive in.
The Classic Model: The Central Pantry of Shared Storage
Let’s start with the classic, the architecture that has powered enterprise computing for decades: shared storage.
Let me paint a vivid picture for you. Imagine two or more compute nodes—your powerful servers—all connected to a central, high-performance storage array. This is usually a SAN, or a Storage Area Network. Now, this connection isn’t your regular office network; it’s a dedicated, high-speed fabric like Fibre Channel or iSCSI, built for one purpose: moving data, fast.
I often think of it like a professional kitchen. You have a team of chefs—those are your compute nodes. They all work from a single, meticulously organized central pantry—that’s your SAN. Every ingredient they could possibly need is in one place, ready to be accessed.
The principle for high availability here is beautifully direct. If one chef (a server) suddenly becomes unavailable—maybe they trip and spill the soup everywhere—another chef can immediately step up to the exact same workstation, access the exact same ingredients from that central pantry, and continue the recipe without missing a beat.
The data doesn’t have to move. It’s already there. The standby node simply takes over.
This magic is made possible by some clever technologies, like SCSI-3 Persistent Reservations which act as a traffic cop managing access, and special clustered file systems that allow multiple servers to safely read and write to that single pool of data simultaneously.
For an architect, what I appreciate most is the inherent data consistency. There is only one copy of the data. One source of truth. There’s no ambiguity, no replication lag to worry about, no debates about which copy is the ‘real’ one. This simplifies the design considerably.
And when a failover occurs, the process is incredibly clean. The standby node takes control of the storage volume. You’re not frantically trying to copy terabytes of data across the network under pressure; the new node just mounts the existing filesystem. My experience is that the time to recovery is often very, very fast.
This is a battle-tested model. For decades, it’s been the foundation for mission-critical, stateful applications. When you see systems like Oracle RAC or SQL Server Failover Cluster Instances, you are looking at classic, powerful implementations of the shared storage principle. It’s predictable, and in the world of enterprise systems, predictability is gold.
The Achilles’ Heel of Shared Storage
But for all its elegance, the shared storage model has a well-known and often-feared Achilles’ heel. That central pantry… that SAN… becomes the system’s single point of failure.
Now, don’t get me wrong, modern storage arrays are marvels of engineering with extensive internal redundancy—multiple controllers, power supplies, the works. But what I have seen over my career is that even the best-engineered systems are not completely immune to a catastrophic event. A critical firmware bug, a backplane failure that takes the whole unit offline… it happens. And if the storage goes down, every single server connected to it is rendered useless. Game over.
Beyond outright failure, it can also become a performance bottleneck. All your compute nodes are contending for I/O on that single array. As you scale up, you can saturate its controllers or back-end disks.
But there’s a more insidious risk, one that keeps architects up at night. What happens if the cluster nodes lose network communication with each other, but they can both still see the storage? Each one might look around, see no one else, and decide it’s the sole master. This is a classic ‘split-brain’ scenario, and it’s a direct path to chaos and data corruption as both nodes try to write to the same data. Preventing this is absolutely critical, and it requires a special set of tools… which we’ll discuss in a future episode!
The Modern Challenger: The Scribes of Shared-Nothing
So, that brings us to the alternative: the shared-nothing architecture. The philosophy here is completely, fundamentally different.
Instead of a central pantry, each node in the cluster has its own private kitchen—its own local disks. There is no SAN. There is no single resource to fail or to become a bottleneck.
High availability is achieved not by sharing storage, but by replicating data across the network from one node to another.
The analogy I always use is to think of a team of ancient scribes, tasked with preserving a critical manuscript. Each scribe has their own complete copy of the text. They don’t all crowd around and read from a single, master scroll. Instead, they constantly confer with each other, ensuring that any change, any annotation, made to one copy is faithfully and quickly replicated to all the others. If one scribe and their manuscript are lost in a fire, the work survives because identical copies exist elsewhere.
This principle is the very foundation of most modern, large-scale distributed systems.
- The immediate advantage? You’ve just engineered away the single point of failure and the system-wide I/O bottleneck. That central SAN is gone.
- But the real beauty here is the scalability. When I need more capacity or performance, I don’t have to plan for a forklift upgrade of a massive, expensive storage array. I simply add another commodity node—server, storage, and all—to the cluster. It’s a linear, predictable, and often more cost-effective way to achieve web-scale.
And the resilience you gain is on another level. If an entire node fails—power supply, motherboard, you name it—its data isn’t lost. Replicas exist on other nodes in the cluster. The system is designed for failure, so it just keeps humming along. This is why you’ll find shared-nothing is the standard for modern giants like NoSQL databases (Cassandra), search engines (Elasticsearch), and the entire world of hyper-converged infrastructure (HCI).
The Price of Infinite Scale
Of course, this immense scalability and resilience doesn’t come for free. The moment you remove the central SAN, you introduce a new, profound dependency: the network. In a shared-nothing world, your network is now your storage fabric. Its primary job is replication, and everything depends on it.
This presents the central challenge: ensuring all those independent copies of data remain consistent. What I always find is that this boils down to a critical trade-off between synchronous and asynchronous replication.
- With synchronous replication, when your application writes data, the system waits for that data to be successfully saved on multiple nodes before it tells the application, “Okay, we’re good!” This guarantees zero data loss (RPO=0), but it introduces latency. It’s the safest path, but your application pays a performance price for that safety on every single write.
- With asynchronous replication, the system confirms the write to the application immediately after saving it locally, then replicates the data to other nodes in the background. It’s much, much faster from the application’s perspective, but you accept the risk that if a node fails before replication finishes, the most recent data could be lost.
As an architect, you have to make a choice, and that choice has to be driven by the application’s needs. Managing consistency across a distributed system is an order of magnitude more complex than working with a single source of truth.
So, Which Topology Wins? (Hint: It’s a Trick Question)
After hearing all that, how do we possibly choose? In practice, the decision is almost always made for us by the application itself.
The title of this episode was a bit of a trick. In my experience, there is no universal “winner.” There is only the right tool for the specific job.
What I see, time and again, is that for a large, monolithic, mission-critical database—think a core Oracle or SAP system—the requirements for strict, immediate, transactional consistency are non-negotiable. For these workloads, a high-performance shared-storage SAN is often still the most robust and predictable solution. It was designed for this world.
On the other hand, if we’re architecting a modern microservices application or a big data platform, the priorities are completely different. These systems are designed to scale horizontally, to be incredibly resilient, and to handle node failures as a matter of course. For them, a shared-nothing architecture is the natural, obvious fit. It allows them to grow and to survive failures in a way a monolithic system simply can’t.
My unbreakable rule is this: don’t pick a favorite technology; perform a disciplined evaluation of trade-offs.
Here’s my mental checklist when I’m approaching this problem:
- Start with Data Consistency: What does the application truly demand? Does it require the absolute, transactional integrity of an ACID model, or can it work with the eventual consistency often found in BASE systems?
- Analyze Scaling Needs: How does this system need to grow? Are we planning to scale vertically by making a few machines more powerful, or horizontally by adding more and more commodity servers?
- Consider the Budget: Are we looking at a large capital expense (CapEx) on a SAN upfront, or a more flexible operational expense (OpEx) model where we add nodes as we grow?
The ‘best’ HA topology is simply the one that provides the most coherent answer to those questions for your specific workload.
Bringing It All Together
So, we’re left with a fundamental choice in system design.
On one side, we have shared storage, offering the beautiful simplicity of a single source of truth and very strong consistency. I find this invaluable for certain legacy and transactional applications, but you accept the trade-off of a potential single point of failure and practical limits on scale.
On the other side, shared-nothing architecture gives you incredible resilience and almost limitless horizontal scalability, but at the cost of managing the complexities of data replication and consistency across your network.
Now, in discussing both of these models, we’ve touched on one of the most dangerous scenarios in high availability: ‘split-brain’. How do you stop two nodes from mistakenly believing they are both in charge and destroying your precious data?
This leads us directly to the critical topics of quorum and fencing—the mechanisms that prevent these disasters. And that’s exactly what we’ll be covering next time.
Join me for episode thirty-two, where we’ll explore ‘The Myth of the ‘Active-Active’ Cluster: Understanding Quorum and Fencing’.
Until then, thank you for listening! As always, I love hearing your thoughts and questions, so please drop them in the comments below. Keep building robust systems!

Leave a Reply