CAP theorem असे सांगते की वितरित प्रणाली एकाच वेळी तीन पैकी सर्वाधिक दोन गुणधर्म हमी देऊ शकते — Consistency, Availability, आणि Partition tolerance. नेटवर्क विभाजन अपरिहार्य असल्याने, विभाजनादरम्यान वास्तविक निवड सुसंगतता आणि उपलब्धता यांच्यामध्ये आहे.
तीन गुणधर्म
CONSISTENCY (C) → every read sees the latest write (all nodes agree on the data)
AVAILABILITY (A) → every request gets a response (the system stays responsive)
PARTITION TOLERANCE (P) → the system keeps working despite network partitions
(communication breaks between nodes)
→ CAP: you can only fully guarantee TWO of these three simultaneously.
