CAP and PACELC
Your app runs in two data centres, and the link between them is cut. Both halves are still running, and both are still getting requests. Do they keep answering, and risk disagreeing? Or do they refuse until the link is back? There's no third option.
In this lesson you'll learn to
- State what the CAP theorem actually says about a network partition.
- Avoid common misreadings of CAP, such as "pick any two of three".
- Use PACELC to explain the trade-off between latency and consistency when there's no partition.
- Choose consistency or availability per operation, and classify real databases.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.