3 ms·
So that would make etcd consistent and available (CP of the CAP)? edit: almost -- available and partition tolerant at least in the default config: https://git
by gigatexal 4y ago
So that would make etcd consistent and available (CP of the CAP)?
edit: almost -- available and partition tolerant at least in the default config:
https://github.com/cloudfoundry-attic/etcd-release/blob/master/README.md#fault-tolerance-and-data-durability https://github.com/cloudfoundry-attic/etcd-release/blob/mast...
- kevincox 4y agoCP doesn't exist. CAP is about what happens in case of a partition (P). You can either remain available (AP) our you can remain consistent (CP). If you don't have partitions then CAP doesn't apply. But I wouldn't recommend depending on that. For example Google's Spanner is CP, but they work really hard to make partitions rare, giving them 99.999% availability.
- remram 4y agoetcd is strongly consistent, it will only be available if you have a majority of nodes up and reaching each other (CP over AP). If you don't have a majority it will not be available (but won't get inconsistent). This is more resilient than SQLite of course, which runs on a single node, and therefore can't remain available if any node (= the only node) fails.