Skip to main content

6 docs tagged with "consistency"

View all tags

Architecture Fundamentals

Core principles of distributed systems architecture including CAP theorem, consistency models, availability, partition tolerance, and key trade-offs every engineer must understand.

CAP Theorem & PACELC: A Senior Engineer's Deep Dive

Full-depth guide to CAP theorem and PACELC — the GitHub 2018 incident, why 'choose 2 of 3' is misleading, PACELC's EL trade-off (latency vs consistency during normal operation), database classification matrix, conflict resolution costs, and Brewer's 12-year correction.

Data Consistency & Transactions

Full-spectrum guide to distributed consistency models — from Linearizability to Eventual Consistency, Session Guarantees (Read-Your-Writes, Monotonic Reads), causal vs data-centric lenses, consistency anomalies with real production bugs, S3 case study, and per-operation decision matrix. Covers ACID, BASE, CAP, PACELC, and advanced internals.

Scaling Reads

Strategies for handling high read QPS including caching layers, read replicas, CDN, CQRS, and database indexing. Covers Redis patterns, cache invalidation, consistency models, fan-out strategies, and senior-level deep dives into coherence, hot keys, and tail latency.

Two-Phase Commit (2PC) & Three-Phase Commit (3PC)

A comprehensive guide to Two-Phase Commit (2PC) and Three-Phase Commit (3PC) — from real-world analogies for beginners to WAL internals, failure modes, and XA implementation for senior engineers.