by shin_lao · 11y ago · 0 comments
But partitions are rare. And when partitions happen, generally you can't access the partitioned area so a lot of problems disappear.
Availability isn't an on/off switch, there is a wide range of how "available" you can be and what you can do. For example you can allow reads but disallow rights.
Last but not least, the most important is what happens after the partition is over and what level of guarantees you offer regarding coherence.
Also, while you can't access the partitioned area, you might have nodes outside that area. The question is whether the non-partitioned nodes become useless to you or not.
http://kellabyte.com/2013/11/04/the-network-partitions-are-r...
https://webcache.googleusercontent.com/search?q=cache:D3htez...
If you have one partition per day (which is very often) but do 100,000 request per seconds: partitions are rare.
10 seconds is hardly a partition as it is below the default TCP timeout (one minute).
Also, while you can't access the partitioned area, you might have nodes outside that area.
So these nodes can't access the partition and you don't have any conflict.
So these nodes can't access the partition and you don't have any conflict.
Conflict comes when you reconnect.
But I've seen plenty of systems that handle single node failure, but really get fucked when you have a network split where 50% of the nodes can talk to each other but not the other 50%. CAP theorem doesn't help you build a system that doesn't do very bad things when this happens.