Created
July 16, 2020 21:17
-
-
Save abhinavece/b624ca44a3b17db2992076e218839003 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The CAP theorem states that when a total partition (a network failure, for | |
example) or a temporary partition (the latency between data replication after a write | |
request, a full GC in the JVM, etc) happens in a distributed system, it has to choose | |
between consistency or availability. If the distributed system picks consistency over | |
availability, it will be unavailable until the partition is fixed. On the other hand, if it | |
picks availability over consistency, it will return a response for a request but this | |
may not contain the most up to date data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment