【24h】

A Dynamic Distributed Algorithm for Read Write Locks

机译:读写锁的动态分布式算法

获取原文
获取原文并翻译 | 示例

摘要

In this paper, a new algorithm that extends Naimi-Trehel token-based mutual exclusion is proposed. Contributions are twofold. First, our algorithm evolves within an changing environment, processes can join and leave the system while the "parent" tree is in ongoing transformation and, while requests accessing the critical section are inserted. Both the tree structure and the original algorithm are amended. We impose new rules and add new variables to the original structure, so as to maintain the connectivity of the "parent" tree as well as the "next" chain, whatever circumstances. Second, the possibility to share the token between processes is introduced. This allows either multiple concurrent readers or a single writer to enter the critical section. In the "next" chain of successive readers, a newly introduced "read handler" ensures that all following requesters for read access may enter the critical section simultaneously, and keeps the token as long as at least one reader is in the critical section. In all cases, our approach can be implemented such that it keeps an average complexity of O(log(n)) messages per request.
机译:本文提出了一种扩展基于Naimi-Trehel令牌的互斥算法。贡献是双重的。首先,我们的算法在不断变化的环境中发展,当“父”树正在进行转换时,并且在插入访问关键部分的请求时,进程可以加入和离开系统。树形结构和原始算法都进行了修改。我们施加新规则并在原始结构中添加新变量,以在任何情况下都保持“父”树和“下一个”链的连通性。其次,引入了在进程之间共享令牌的可能性。这允许多个并发读取器或单个写入器进入关键部分。在连续读取器的“下一个”链中,新引入的“读取处理程序”确保所有随后的读取访问请求者可以同时进入关键部分,并且只要至少一个读取器位于关键部分中就可以保留令牌。在所有情况下,我们的方法都可以实现,以使每个请求平均保持O(log(n))条消息的平均复杂度。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号