CAP উপপাদ্য বলে যে একটি বিতরণকৃত সিস্টেম একসাথে সর্বোচ্চ তিনটির মধ্যে দুটি বৈশিষ্ট্য নিশ্চিত করতে পারে — 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.
