Home Strong vs Eventual Consistency
Post
Cancel

Strong vs Eventual Consistency

Strong Consistency

“Always all data is to have integrity”

Strong Consistency

Eventual Consistency

This ensures all read operations retrieves updated data at the end.

Eventual Consistency

Master Node + Read replica

IndexStrong ConsistencyEventual Consistency
ProsData consistency and integrityScalability, Performance
ConsScalability, PerformanceWeak consistency and integrity
When To UseSmall data </br>context is specificLarge data</br>context is general
Example use-casePayment transactionLikes on instagram picture

What developers have to decide?

Always consider ‘user-centered’ perspective, Does it affect on user experience?


🔗 References

This post is licensed under CC BY 4.0 by the author.

ACID

Required terms of database

Trending Tags