Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4777

BASE Semantics

BASE Semantics
SystemsmediumSystems Theory
Included
account_tree

Updated 2026-08-08

Loading revision record…

Summary

A set of consistency guarantees for distributed systems emphasizing availability over strict consistency: basically available, soft state, eventually consistent.

Definition

BASE stands for Basically Available, Soft state, and Eventually consistent, a model proposed as a counterpart to the ACID properties of traditional databases. It accepts temporary inconsistency in exchange for availability and partition tolerance, following the trade-offs described by the CAP theorem. Systems built this way return approximate or pending results quickly and converge to a consistent state later through background reconciliation. Key qualification: eventual consistency is a guarantee about convergence, not a license for permanent inconsistency, and it is unsuitable where business rules demand strict correctness.

How to use

- Choose the trade: decide whether availability or strict consistency matters more for each operation. - Design the reconciliation: specify how and when divergent replicas will converge. - Set the window: define how much temporary inconsistency the business can tolerate.

Mechanism

When a network partition or heavy load prevents all replicas from coordinating, refusing writes would make the system unavailable. Accepting writes locally keeps the service responsive but allows replicas to diverge temporarily. Background reconciliation then merges the states, so availability is purchased with a bounded period of inconsistency rather than with data loss.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • E-commerce inventory systems show pending status during peak sales and reconcile stock counts afterward.
  • Shopping carts remain writable during a partition and merge across devices once connectivity returns.
  • Domain name resolution propagates changes gradually, which trades consistency for global availability.

Common pitfalls

  • Reading eventual consistency as never inconsistent, when the state may be wrong for a measurable window.
  • Applying BASE where the business requires strict correctness, such as in ledgers or inventory reservation.
  • Omitting reconciliation logic, which leaves divergent data unresolved rather than eventually consistent.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Eventual_consistencyZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS