CAP theorem
/ कैप थ्योरम /Advanced
Meaning in this fieldA distributed database cannot guarantee consistency, availability and partition tolerance all at once, so designers pick two.
Effect at a glance
It makes you decide up front which property you can give up.
- The network breaks between machines
- The system has to choose one property
- It keeps either correct answers or being up
Literal meaning
A theorem about three properties.
Usage
When designing large databases that run across many machines.
Example
A bank picks correct balances; a social feed may pick staying available.
Caution: It is about the moments when the network breaks, not about normal times.