摘要
在分布式循环请求集长度最短时,针对请求集生成算法的时间复杂度和空间复杂度过高问题,提出了一种基于重复数的最短循环请求集生成算法。算法在基于循环松弛差集的思想上,以当前请求集差集允许的最大重复数作为判断条件,依次向请求集中添加元素。实验结果表明,系统节点数为70到90时,该算法在保证请求集长度最短,且空间复杂度为O(2N)的前提下,使得时间复杂度是穷搜方法的3.6E-03到6.8E-07,降低了最短循环请求集生成算法的时间复杂度。
When the length of the cyclic quorum is the shortest in distributed system, the space complexity and the time complexity of the existing quorum generation algorithm are too high, a new shortest cyclic quorum generation algorithm was presented. Based on the theory of relaxed cyclic difference set, adding elements to the quorum in turn was judged by the condition of maximum allowable number of repetitions. The simulation results show that, when the system node number is 70 to 90, the length of the cyclic quorum is the shortest and the space complexity is O ( 2n ), the time complexity is 3.6E - 03 to 6.8E -07 of that of the exhaustive search, and the time complexity of the shortest cyclic quorum generation algorithm is reduced.
出处
《计算机应用》
CSCD
北大核心
2014年第5期1263-1266,1299,共5页
journal of Computer Applications
关键词
分布式系统
循环请求集
生成算法
重复数
请求集上限
distributed system
cyclic quorum
generation algorithm
number of repetitions
upper limit of quorum