4 ms·
CAP is a false choice. In practice, people choose (mostly C)+(mostly A)+(mostly P).
by j16sdiz 3y ago
CAP is a false choice.
In practice, people choose (mostly C)+(mostly A)+(mostly P).
- woooooo 3y ago"Mostly consistent" is not good enough for many applications. The thing most people pick in practice is CA, single master with hopefully a replicated backup.
- seneca 3y agoAbsolutely. And that's the right choice IF you can make it. Switching to CP or AP is something you should do because you're forced to. That's something lost on a lot of modern engineers, I think. Distributed Systems are something you do because you have to, not because they're the best approach inherently.
- deleted 3y ago[deleted]
- dartos 3y agoThat’s because for many use cases, you don’t need to be perfect. The theorem is about being perfectly C, A, and P
- hndc 3y agoYou've misunderstood the theorem. It doesn't say you can't achieve any combination of mostly C/A/P; it says you can't have perfect C, A, and P at the same time.
- hasty_pudding 3y agoThose things are binary. You have them or mot. Theres no: 'mostly'. If you have more than two hosts, you have P. If you have delay to sync, you have C. If you send inaccurate data instead of waiting you have A. Theres no 'mostly'