DOI QR코드

DOI QR Code

An Efficient Tree-Based Algorithm for the Distributed Trigger Counting Problem

분산 트리거 계수 문제를 위한 효율적인 트리 기반 알고리즘

  • 이재흥 (대전대학교 정보보안학과)
  • Received : 2021.12.10
  • Accepted : 2021.12.16
  • Published : 2021.12.31

Abstract

The distributed trigger counting problem is to notify the user when the total number of triggers received from a distributed system consisting of n nodes reaches a predefined value w. The distributed trigger counting problem is used for monitoring and global snapshots in various distributed systems. In this paper, we propose a simple and efficient algorithm for the distributed trigger counting problem. The proposed algorithm operates based on a tree structure of degree $\sqrt{n}$ and height 2. The proposed algorithm operates in three different phases based on the remaining number of triggers. Experimental results show that the proposed algorithm has a smaller message complexity than CoinRand, and MaxRcv also performed better when the number of nodes is not large.

분산 트리거 계수 문제는 외부로부터 트리거를 수신하는 n개의 노드로 구성된 분산 시스템에서 수신한 전체 트리거 수의 합이 w에 이르렀을 때 이를 사용자에게 알려주는 문제로 무선 센서 네트워크를 포함한 다양한 분산 시스템 환경에서 모니터링과 전역 스냅샷을 위해 사용된다. 이 논문에서는 분산 트리거 계수 문제를 위한 간단하고 효율적인 알고리즘을 제안한다. 제안 알고리즘은 차수가 $\sqrt{n}$이고 높이가 2인 트리 구조를 기반으로 동작하며, 남은 트리거 수에 따라 세 단계의 서로 다른 방식으로 동작한다. 제안 알고리즘에서 수신한 전체 트리거 수의 합이 w에 이르렀을 때 이를 사용자에게 알려주지 않을 확률이 0임을 증명하였고, 실험을 통해 제안 알고리즘이 CoinRand에 비해 더 작은 메시지 복잡도를 가지며 노드 수가 많지 않을 때는 MaxRcv 또한 더 작음을 보여주었다.

Keywords

References

  1. V. T. Chakaravarthy, A. R. Choudhury, V. K. Garg, and Y. Sabharwal, "Efficient Decentralized Algorithms for the Distributed Trigger Counting Problem," Theory Computing Systems, vol. 51, no. 4, pp. 447-473, 2012. https://doi.org/10.1007/s00224-012-9405-4
  2. M. K. Singh, S. I. Amin, S. A. Imam, V. K. Sachan, and A. Choudhary, "A Survey of Wireless Sensor Network and its types," Proc. of the 2018 International Conference on Advances in Computing, Communication Control and Networking (ICACCCN), pp. 326-330, Oct., 2018.
  3. 이진우, 모하매드 바니아타, 홍지만, "무선 센서 네트워크를 위한 효율적인 클러스터링 기법," 스마트미디어저널, 제6권, 제4호, 24-31쪽, 2017년 12월
  4. 김영관, 이주석, 김아정, 홍지만, "기계학습 분산 환경을 위한 부하 분산 기법," 스마트미디어저널, 제10권, 제1호, 25-31쪽, 2021년 03월
  5. C. Hsin and M. Liu, "A distributed monitoring mechanism for wireless sensor networks," Proc. of the 1st ACM workshop on Wireless security (WiSE '02), pp. 57-66, Sep., 2002.
  6. 안성열, 차병래, 차윤석, 전은진, 권귀영, 신병춘, "오픈소스 Prometheus 모니터링 시스템의 사전연구," 스마트미디어저널, 제10권, 제2호, 110-118쪽, 2021년 6월
  7. K. M. Chandy and L. Lamport, "Distributed snapshots: determining global states of distributed systems," ACM Transactions on Computer Systems, vol. 3, no. 1, pp. 63-75, 1985. https://doi.org/10.1145/214451.214456
  8. A. D. Kshemkalyani, "Fast and Message-Efficient Global Snapshot Algorithms for Large-Scale Distributed Systems," IEEE Transactions on Parallel and Distributed Systems, vol. 21, no. 9, pp. 1281-1289, Sep., 2010. https://doi.org/10.1109/TPDS.2010.24
  9. R. Garg, V. K. Garg, and Y. Sabharwal, "Efficient Algorithms for Global Snapshots in Large Distributed Systems," IEEE Transactions on Parallel Distributed Systems, vol. 21, no. 5, pp. 620-630, 2010. https://doi.org/10.1109/TPDS.2009.108
  10. V. T. Chakaravarthy, A. R. Choudhury, and Y. Sabharwal, "Improved Algorithms for the Distributed Trigger Counting Problem," 2011 IEEE International Parallel & Distributed Processing Symposium, pp. 515-523, 2011.
  11. S. Kim, J. Lee, Y. Park, and Y. Cho, "An optimal distributed trigger counting algorithm for large-scale networked systems," Simulation, vol. 89, pp. 846-859, 2013. https://doi.org/10.1177/0037549713485499
  12. Y. Emek and A. Korman, "Efficient Threshold Detection in a Distributed Environment: Extended Abstract," Proc. of the 29th ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, pp. 183-191, Jul., 2010.
  13. C. Chang and J. Tsai, "Distributed Trigger Counting Algorithms for Arbitrary Network Topology," Wireless Communication Mobile Computing, vol. 16, no. 16, pp. 2463-2476, 2016. https://doi.org/10.1002/wcm.2698
  14. S. Kim and Y. Park, "DDR-coin: An Efficient Probabilistic Distributed Trigger Counting Algorithm," Sensors, vol. 20, no. 22, pp. 1-24, 2020. https://doi.org/10.1109/JSEN.2019.2959158
  15. Distributed Trigger Counting(2021). https://github.com/leejh257/DTC (accessed Dec., 8, 2021).