A simple and efficient Distributed Trigger Counting algorithm based on local thresholds

IF 4.1 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
{"title":"A simple and efficient Distributed Trigger Counting algorithm based on local thresholds","authors":"","doi":"10.1016/j.icte.2024.05.005","DOIUrl":null,"url":null,"abstract":"<div><p>Consider a large-scale distributed system in which each computing device is observing triggers from an external source. Distributed Trigger Counting (DTC) algorithm is used to detect the state of the system when the aggregated number of the observed triggers reaches a predefined value. In this paper, we propose a simple and efficient DTC algorithm: Cascading Thresholds (CT). We mathematically show that CT is an optimal DTC algorithm in terms of the total number of exchanged messages among the devices (<em>message complexity</em>). For the maximum number of received messages per device (<em>MaxRcv</em>), CT is sub-optimal. The average message complexity of CT is <span><math><mrow><mi>O</mi><mrow><mo>(</mo><mi>N</mi><mo>log</mo><mrow><mo>(</mo><mi>W</mi><mo>/</mo><mi>N</mi><mo>)</mo></mrow><mo>)</mo></mrow></mrow></math></span>, and <em>MaxRcv</em> of it is <span><math><mrow><mi>O</mi><mrow><mo>(</mo><mi>k</mi><mo>log</mo><mrow><mo>(</mo><mi>W</mi><mo>/</mo><mi>N</mi><mo>)</mo></mrow><mo>+</mo><mi>N</mi><mo>)</mo></mrow></mrow></math></span>, where <span><math><mi>W</mi></math></span> is the number of triggers to be detected, <span><math><mi>N</mi></math></span> is the number of devices, and <span><math><mi>k</mi></math></span> is the degree of a node in the tree-like structure. Compared to the previous optimal algorithm (TreeFill), CT is much simpler: in our implementation the code size is about 2.5 times smaller. Also, unlike TreeFill CT does not require complicated mechanisms including distributed locking. Experimental results show that CT has a lower message complexity and <em>MaxRcv</em> compared to the previous work (CoinRand and RingRand). Furthermore, CT and TreeFill show a similar performance. From its simplicity, CT is more practical than previous work including TreeFill, CoinRand and RingRand.</p></div>","PeriodicalId":48526,"journal":{"name":"ICT Express","volume":"10 4","pages":"Pages 895-901"},"PeriodicalIF":4.1000,"publicationDate":"2024-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2405959524000559/pdfft?md5=6ef1c5ea0be5f4cc3319840b9ff91bf4&pid=1-s2.0-S2405959524000559-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ICT Express","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2405959524000559","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Consider a large-scale distributed system in which each computing device is observing triggers from an external source. Distributed Trigger Counting (DTC) algorithm is used to detect the state of the system when the aggregated number of the observed triggers reaches a predefined value. In this paper, we propose a simple and efficient DTC algorithm: Cascading Thresholds (CT). We mathematically show that CT is an optimal DTC algorithm in terms of the total number of exchanged messages among the devices (message complexity). For the maximum number of received messages per device (MaxRcv), CT is sub-optimal. The average message complexity of CT is O(Nlog(W/N)), and MaxRcv of it is O(klog(W/N)+N), where W is the number of triggers to be detected, N is the number of devices, and k is the degree of a node in the tree-like structure. Compared to the previous optimal algorithm (TreeFill), CT is much simpler: in our implementation the code size is about 2.5 times smaller. Also, unlike TreeFill CT does not require complicated mechanisms including distributed locking. Experimental results show that CT has a lower message complexity and MaxRcv compared to the previous work (CoinRand and RingRand). Furthermore, CT and TreeFill show a similar performance. From its simplicity, CT is more practical than previous work including TreeFill, CoinRand and RingRand.

基于局部阈值的简单高效分布式触发计数算法
考虑一个大型分布式系统,其中每个计算设备都在观测来自外部的触发器。分布式触发器计数(DTC)算法用于在观测到的触发器总数达到预定值时检测系统状态。本文提出了一种简单高效的 DTC 算法:级联阈值 (CT)。我们用数学方法证明,就设备间交换信息的总数(信息复杂度)而言,CT 是一种最佳 DTC 算法。就每个设备接收信息的最大数量(MaxRcv)而言,CT 是次优的。CT 的平均信息复杂度为 O(Nlog(W/N)),其 MaxRcv 为 O(klog(W/N)+N),其中 W 为要检测的触发器数量,N 为设备数量,k 为树状结构中节点的度数。与之前的最优算法(TreeFill)相比,CT 算法要简单得多:在我们的实现过程中,代码量大约减少了 2.5 倍。此外,与 TreeFill 不同,CT 不需要包括分布式锁定在内的复杂机制。实验结果表明,与之前的工作(CoinRand 和 RingRand)相比,CT 的信息复杂度和 MaxRcv 更低。此外,CT 和 TreeFill 的性能相似。与 TreeFill、CoinRand 和 RingRand 等前人的研究相比,CT 更为简单实用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
ICT Express
ICT Express Multiple-
CiteScore
10.20
自引率
1.90%
发文量
167
审稿时长
35 weeks
期刊介绍: The ICT Express journal published by the Korean Institute of Communications and Information Sciences (KICS) is an international, peer-reviewed research publication covering all aspects of information and communication technology. The journal aims to publish research that helps advance the theoretical and practical understanding of ICT convergence, platform technologies, communication networks, and device technologies. The technology advancement in information and communication technology (ICT) sector enables portable devices to be always connected while supporting high data rate, resulting in the recent popularity of smartphones that have a considerable impact in economic and social development.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信