{"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 , and MaxRcv of it is , where is the number of triggers to be detected, is the number of devices, and 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.
期刊介绍:
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.