In a distributed system, which two properties can be guaranteed simultaneously according to the CAP theorem?
Remember, the CAP theorem states you can only have two out of three properties at the same time.
The CAP theorem states that in the presence of a network partition, a distributed system must choose between consistency and availability. Therefore, only two of the three properties can be guaranteed simultaneously.
You are designing a distributed database that must remain available during network partitions but can tolerate eventual consistency. Which CAP properties does your design prioritize?
Think about which property is relaxed to keep the system available during partitions.
Choosing availability and partition tolerance means the system remains responsive during network issues but may not be immediately consistent.
You have a distributed system that must scale globally with strong consistency guarantees. What is the main challenge you will face according to the CAP theorem?
Think about what happens when network partitions occur and you want strong consistency.
Strong consistency requires the system to reject some requests during partitions, reducing availability.
In a banking application requiring accurate account balances, which CAP property should be prioritized during network partitions?
Consider the importance of accurate data in financial transactions.
Banking systems must ensure data correctness, so consistency is prioritized even if availability is reduced during partitions.
A distributed system has 5 nodes across different regions. Network partitions occur randomly with a 1% chance per hour. If the system prioritizes consistency and partition tolerance, what is the expected availability impact over 24 hours?
Calculate downtime based on partition probability and availability trade-offs.
With 1% chance per hour over 24 hours, expected downtime is about 24%. Prioritizing consistency means the system becomes unavailable during partitions.