内存一致性中的release consistency

发布一致性是并发编程领域的一致性模型之一,例如在分布式共享内存和分布式事务中使用。该模型通过特殊的同步操作 release 和 acquire 来确保节点间的写操作可见性。系统提供两种实现发布一致性的协议:急切协议,在 release 操作时执行所有一致性动作;懒惰协议,则将一致性动作延迟到后续的 acquire 操作之后。

Release consistency is one of the consistency models used in the domain of the concurrent programming (e.g. in distributed shared memory, distributed transactions etc.).

Systems of this kind are characterised by the existence of two special synchronisation operations, release and acquire. Before issuing a write to a memory object a node must acquire the object via a special operation, and later release it. Therefore the application that runs within the operation acquire and release constitutes the critical region. If all write operations by a certain node are seen by the other nodes after the former releases the object and before the latter acquire it, the system is said to provide release consistency.

There are two kinds of coherence protocols that implement release consistency:

eager, where all coherence actions are performed on release operations,[1] and

lazy, where all coherence actions are delayed until after a subsequent acquire [2]

TreadMarks is an application of lazy release consistency.[3]


原文链接:https://en.wikipedia.org/wiki/Release_consistency

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值