CAP theorem
When machines can't reach each other, a system must choose: refuse some requests and stay correct, or answer with data that may be old.
See it in action
These lessons put cap theorem to work. Read one, then play it and watch what happens without it.
- Fresh or fast: People change their shipping address, reload the page and see the old one. Your replicas are a moment behind the…
- Who's in charge?: Your database has a primary and one standby. When the network between them broke, both thought they were in charge and…