NoSQL database: Consistent read consistency for data
Strong consistency
When visiting any node in the cluster at any time, the data results are consistent;
User consistency
For the same user, access to the data obtained during the cluster is consistent;
Resolve user consistency: Use sticky sessions to bind sessions to specific nodes for processing;
This will reduce the performance of the load balancer;
Finally consistent
The data synchronization between nodes in the cluster is inconsistent with the temporary data, but the data synchronization is finished, and finally has the consistency;
Update consistency
Easing "consistency constraints"
- Cap theorem
Consistency (consistency), availability (availability), and partition tolerance (Partition tolerance), 3 properties can only meet 2 at the same time;
Explanation of partition tolerance: clusters are still available if the cluster is divided into multiple communications failures
Relaxing "persistence" constraints
more stringent durability. means a lot of other performance losses;
Attached Mind Map
References
The essence of NoSQL
Posted by: Big CC | 02jul,2014
Blog: blog.me115.com [Subscribe]
Weibo: Sina Weibo
NoSQL databases: Consistency of data