改进的分布式互斥请求集生成算法  被引量:3

Improved quorum generating algorithm for distributed mutual exclusion

在线阅读下载全文

作  者:武鹏[1] 李美安[1] 裴喜春[2] 周根宝[1] 

机构地区:[1]内蒙古农业大学计算机与信息工程学院,呼和浩特010018 [2]内蒙古农业大学网络中心,呼和浩特010018

出  处:《计算机应用》2010年第A01期243-244,250,共3页journal of Computer Applications

摘  要:在分布式系统中,各节点必须互斥地访问临界区。节点的请求集的长度决定了系统的效率、性能。虽然最优请求集的节点数最少(大约槡n),但已有的解决方案该类问题算法类似于穷举法,随着节点的增加,该方法变得不可计算。提出了一种快速的请求集生成算法,该算法以循环差集请求集生成算法的理论和贪心算法的基本思想为基础,在每次迭代的过程中,选出一个当前条件下最优的节点加入请求集。与其他的方法相比较,该方法能对任意给定的整数快速、有效地生成对称的请求集。本算法时间复杂度为O(n2),生成的请求集长度为槡n~2槡n。In the distributed system, nodes must access to the critical section in the mutuaUy exclusive way. The necessary number of the messages for accessing to critical section is determined by the size of quorums to a great extent. This paper introduced a new suboptimal algorithm based on greedy strategy for mutual exclusion in distributed systems and posed mathematical conditions which must meet with the greedy strategy during this algorithm executing. With the algorithm, a symmetric quorum set can be fasfly got for arbitrarily given integer n. The size of the symmetric quorums is between √n and 2√n. Compared with the other methods, the proposed quorum algorithm has a higher time efficiency and the quorum generated by this algorithm is very small.

关 键 词:分布式互斥 请求集 贪心算法 

分 类 号:TP316.4[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象