Eventual consistency
After a write, reads see it sooner or later, usually within milliseconds. Data is copied asynchronously.
Example
Like a DNS change: it takes a while to reach everyone, but it gets there.
Test yourself: Eventual consistency
ACID and BASE
Which data copes well with eventual consistency?
Seeing 1,203 likes instead of 1,205 for 2 seconds harms no one.
CQRS
With CQRS, the read model can show old data for a moment.
Between storing the command and updating the view, about 100 ms can pass.
0/2
â–¶ Play