DOI QR코드

DOI QR Code

Distributed Hashing-based Fast Discovery Scheme for a Publish/Subscribe System with Densely Distributed Participants

참가자가 밀집된 환경에서의 게재/구독을 위한 분산 해쉬 기반의 고속 서비스 탐색 기법

  • 안시내 (아주대학교 컴퓨터공학과 컴퓨터통신연구실) ;
  • 강경란 (아주대학교 컴퓨터공학과 컴퓨터통신연구실) ;
  • 조영종 (아주대학교 컴퓨터공학과 컴퓨터통신연구실) ;
  • 김노원 (아주대학교 컴퓨터공학과 컴퓨터통신연구실)
  • Received : 2013.04.10
  • Accepted : 2013.12.06
  • Published : 2013.12.31

Abstract

Pub/sub system enables data users to access any necessary data without knowledge of the data producer and synchronization with the data producer. It is widely used as the middleware technology for the data-centric services. DDS (Data Distribution Service) is a standard middleware supported by the OMG (Object Management Group), one of global standardization organizations. It is considered quite useful as a standard middleware for US military services. However, it is well-known that it takes considerably long time in searching the Participants and Endpoints in the system, especially when the system is booting up. In this paper, we propose a discovery scheme to reduce the latency when the participants and Endpoints are densely distributed in a small area. We propose to modify the standard DDS discovery process in three folds. First, we integrate the Endpoint discovery process with the Participant discovery process. Second, we reduce the number of connections per participant during the discovery process by adopting the concept of successors in Distributed Hashing scheme. Third, instead of UDP, the participants are connected through TCP to exploit the reliable delivery feature of TCP. We evaluated the performance of our scheme by comparing with the standard DDS discovery process. The evaluation results show that our scheme achieves quite lower discovery latency in case that the Participants and the Endpoints are densely distributed in a local network.

Pub/sub 기술은 메시지 기반으로 데이터 생성자의 위치, 시간, 동기화 등에 대한 데이터에 제한 없이 접근할 수 있게 하는 특징을 가지므로, 데이터 중심 서비스를 위한 미들웨어 구축 기술로 널리 활용되고 있다. 국제 표준화 기구인 OMG (Object Management Group)에서 정의한 DDS (Data Distribution Service)는 pub/sub 기반의 미들웨어 기술로서, 미국 군용 장비의 표준 미들웨어로 채택되는 등 그 유용성이 높이 인정받고 있다. 그러나 publisher와 subscriber가 밀집된 환경에서는, 시스템 초기 부팅 시에 시스템 내 data 생산과 소비 주체가 되는 Participant와 Endpoint들을 탐색하는 과정에서의 지연 시간이 길다는 문제점을 갖고 있다. 본 논문에서는 지역적으로는 넓지 않지만 시스템 내의 Participant와 Endpoint의 수가 밀집된 환경에서의 탐색 시간을 줄일 수 있는 방안을 제시한다. 기존의 DDS 표준에서 정의하고 있는 표준 탐색 단계인 Participant 탐색 단계와 Endpoint 탐색 단계를 통합하고 분산 해쉬 기법의 Successor 개념을 도입하여 각 Participant마다 메시지를 전달해야 하는 대상의 수를 줄였다. 메시지 전달대상의 수를 줄임으로써 전송 프로토콜로 TCP를 적용하는 것이 가능해져, 메시지 전달의 신뢰성을 높일 수 있었다. 네트워크 시뮬레이터를 통한 성능 평가에서 본 연구에서 제안한 기법이 기존 기법에 비해 10%의 탐색 시간으로 시스템 내 Participant와 Endpoint를 발견할 수 있었다.

Keywords

References

  1. Object Management Group, Data Distribution Service for real-time systems specification, Ver. 1.2, 2007.
  2. RTI, RTI DDS, retrieved Mar, 1, 2011, from http://www.rti.com.
  3. Object Management Group, The real-time publish-subscribe wire protocol DDS interoperability wire protocol specification, Ver. 2.1, 2009.
  4. S. Chae, S. Ahn, K. Kang, J. Kim, S. Lee, and W. Kim, "Fast discovery scheme using DHT-like overlay network for a large-scale DDS," Commun. Comput. Inform. Sci., vol. 256, pp. 128-137, Dec. 2011. https://doi.org/10.1007/978-3-642-26010-0_15
  5. S. Ahn, N. Kim, K. Kang, and Y. Cho, "Fast discovery scheme using overlay network for DDS device," in Proc. Korea Inform. Commun. Soc. (KICS) Conf., pp. 329-330, Seoul, Korea, Nov. 2012.
  6. S. El-Ansary, L. Alima, P. Brand, and S. Haridi, "Efficient broadcast in structured P2P networks," in Proc. Int. Workshop Peer-To-Peer Syst. (IPTPS), pp. 304-314, Berkeley, U.S.A., Feb. 2003.
  7. J. S. Monedero, "A DDS discovery protocol based on Bloom filters," M.S. Thesis, Dept. Inform. Sci. Telecommun. Eng., Universidad de Granada, Sep. 2009.
  8. M. Christensen, K. Kimball, and F. Solensky, Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches, IETF RFC 4541, May 2006.
  9. I. Stoica, R. Morris, D.R. Karger, M.F. Kaashoek, and H. Balakrishinan, "Chord: a scalable peer-to-peer lookup service for internet applications," in Proc. ACM SIGCOMM, pp. 149-160, San Diego, U.S.A., Aug. 2001.
  10. Scalable Network Technologies, The Simulator: QualNet, retrieved Mar., 1, 2011, from http://www.qualnet.com.