Factors Improving Consistency
Factors Improving Consistency:
1.Improving network Bandwidth : Increase the speed , synchronization will be fast.
2.Stop the Read: Government website is down ,until the new update is updated.
3.Replication based on Distance aware strategies: Server is very close , then synchronization help.
Types of consistency:
Strong
Consistency |
Eventual
Consistency |
Weak
Consistency |
When
the system doesn’t allow Read operation until all nodes with replicated data
are updated. Example:
ticket booking |
User
Read Request are not halted till all the replicas are updated rather the
update process is eventual. Some users might receive old data but eventually
all the data is updated to latest data. Ex:
Social Media posts if updated late then its ok Same
post, but after updating post, some see latest post, some still see old post
data |
All
the nodes are not in synchronization depend on business logic. |
Comments
Post a Comment