Course contentsShow
← System Design
Lesson 314 of 1,9199. SQL vs NoSQL TradeoffsFree lesson

BASE Properties Overview

Understanding Basically Available, Soft state, Eventually consistent as an alternative to ACID for distributed systems.

BASE Properties Overview

What you'll learn: An alternative consistency model for distributed systems that trades strong guarantees for availability and performance.

The Alternative to ACID

While ACID properties (which we just covered) ensure strict consistency and reliability, they can be costly in distributed systems. BASE offers a more relaxed approach designed for systems that prioritize availability and partition tolerance over immediate consistency.

BASE stands for:

  • Basically Available: The system guarantees availability, even if some parts fail
  • Soft state: Data state may change over time, even without new input
  • Eventually consistent: The system will become consistent eventually, but not immediately

How BASE Works

Think of BASE like a distributed team updating a shared document. When you make a change, not everyone sees it instantly—but given enough time, everyone will eventually see the same version. The document remains "available" to edit even if some team members are offline.

Key Characteristics

Basically Available means the system keeps working during partial failures. If one database node goes down, others still serve requests—perhaps with slightly stale data.

Soft state acknowledges that data isn't always in a fixed state. Background processes might be reconciling conflicts or propagating updates.

Eventually consistent accepts temporary inconsistencies. After a write, reads might return old values briefly, but all nodes will converge to the same state given enough time (assuming no new writes).

ACID vs BASE

ACID is like a strict librarian: every book must be perfectly catalogued before anyone can check it out. BASE is like a busy bookstore: books are mostly where they should be, and staff continuously reorganize, but customers can always browse and buy.

Key Takeaway: BASE properties sacrifice immediate consistency for higher availability and partition tolerance, making them ideal for distributed systems where perfect synchronization is expensive or impossible.