大家好,又见面了,我是你们的朋友全栈君。
Consistent data:
Operations commit or fail in their entirety(atomic)
操作的提交或者失败都是整体的(原子性)
Transactions never observe or result in inconsistent data(consistent)
事务不会导致不一致的数据
Uncommitted transactions are isolated from each other(isolate)
未提交的事务相互之间是隔离的
Once a transaction is committed it is permanent(durable)
一个事务的提交是永久性
Highly available:
Every request should succeed and receive a response
所有请求都必须成功的或者回复
Fault-tolerance:
When some nodes crash or some communication links fail, it is important that the service still perform as expected
当一些节点宕机或者网络连接失败,服务仍然能够perform as expected
定理1
It is impossible in the asynchronous network model to implement a read/write data object that guarantees the following properties:
●Availability
●Atomic consistency
在一个异步网络模型中是不可能实现读写请求达到下面两点要求的:
●可用性
●一致性
反证法证明之。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/144379.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...