Skip to main content

CAP, PACELC and practical consistency models

Explain CAP and PACELC in practical terms, plus strong vs eventual vs read-your-writes consistency.

Official Reference

Model Answer & Explanation

Partitions (P) are inevitable in distributed systems, so during a partition you choose Consistency (reject/wait) or Availability (serve possibly stale data). PACELC adds Else (when healthy): Latency vs Consistency. Most apps don’t need global linearizability everywhere—routing a user’s own reads to the primary (or tracking replication LSN) gives read-your-writes UX at low cost.

Follow-up Interview Question · Give one product feature that needs strong consistency and one where eventual consistency is fine.

Module Context & References

System Design · Popular interview theory The 20% of distributed systems building blocks behind 80% of architecture rounds
Personal Notes · Markdown

Technologies & Interview Topics Covered

Switch between short-term interview tracks and long-term 80/20 engineering depth to practice JavaScript internals, React rendering and hooks, timed frontend machine coding UI challenges, MeetaPro FG300, Blind 75 & NeetCode 150 DSA patterns, Python & FastAPI APIs, PostgreSQL query optimization & MVCC, Redis caching, Applied AI RAG pipelines & evaluations, and distributed system design.