CAP Theorem is another of those blockchain buzzwords
.
CAP stands for:
CAP Theorem: A distributed network can only pick two.
Take payment processing as an example. It's a distributed network of Point-Of-Sale systems, payment processors, banks and other entities. Payment processing has chosen consistency
and availability
.
You swipe your credit card. Open your mobile banking application. The transaction is usually there after a small delay. The delay is most likely because of the time it takes for your bank to retrieve the transaction from the payment processor. If your bank reads off your list of transactions, it will always grab the latest data which includes your last credit card swipe.
You swipe your card and you get a response. The bank asks for your data and gets a response. The system could be down for maintenance but after swiping your card you usually get an answer that says your transaction got through or was declined.
Payment processing did not choose this. In order for payment processing to work, you need to have access to the servers. A single POS cannot process transactions alone. It can store transactions but it cannot process them by itself. A POS on the plane is not connected to the network, it can take credit cards but the transactions do not clear or appear in the banking application after a short delay. The POS will send the transactions to the network when the plane lands.
Did you honestly believe I would forget this edge case?1 I had the same "brilliant moment." If the POS is connected to the network then it's not partitioned. Check mate atheists.