DOI QR코드

DOI QR Code

Design of A IoT Platform Based on CQRS Pattern to Accommodate Various Requirements and Improve Data Query Performance

다양한 요구사항 수용 및 데이터 조회 성능 향상을 위한 CQRS 패턴 기반의 사물인터넷 플랫폼 설계

  • Jeon, Cheol-Ho (Department of Mobile Convergence and Engineering, Hanbat National University) ;
  • Jeon, Hyeon-Sig (Department of Mobile Convergence and Engineering, Hanbat National University) ;
  • Park, Hyun-Ju (Department of Information and Communication Engineering, Hanbat National University)
  • Received : 2020.07.25
  • Accepted : 2020.08.16
  • Published : 2020.11.30

Abstract

With the advent of the ubiquitous era due to the development of science and technology in the modern society, interest in data generated in the IoT environment has increased socially. However, the existing IoT platform has difficulties in processing inquiry requests that require large amounts of throughput, such as statistical processing of large amounts of data. Accordingly, in this paper, we propose an IoT platform that can flexibly accommodate requirements for inquiry requests and improve inquiry performance. The platform proposed in this paper showed a performance improvement of about 1200 times in terms of average response time by introducing a separate read database. By separating the object model into a command side and a query side, the complexity of the object is reduced to meet the various demands on the platform. It was made to allow quick acceptance of the matter.

현대 사회의 과학기술 발전으로 유비쿼터스 시대가 도래함에 따라 사회적으로 사물인터넷 환경에서 발생하는 데이터에 관한 관심이 증가하였다. 하지만 기존 사물인터넷 플랫폼은 대용량 데이터에 대한 통계 처리와 같이 많은 처리량을 요구하는 조회 요청 처리에 어려움이 있다. 이에 따라 본 논문에서는 조회 요청에 대한 요구사항을 유연하게 수용할 수 있고 조회 성능을 향상 시킬 수 있는 사물인터넷 플랫폼을 제안한다. 본 논문에서 제안하는 플랫폼은 별도의 읽기 데이터베이스를 도입하여 평균 응답시간 측면에서 약 1200배의 성능 향상을 보였으며, 객체 모델을 명령 사이드와 조회 사이드로 분리함으로써 객체의 복잡도를 낮춰 플랫폼에 대한 다양한 요구사항을 빠르게 수용할 수 있도록 하였다.

Keywords

References

  1. O. Kumar and A. Goyal, "Visualization: a novel approach for big data analytics," 2016 Second International Conference on Computational Intelligence & Communication Technology (CICT). IEEE, pp. 121-124, 2016.
  2. D. Reinsel, G. John, and R. John, "The digitization of the world from edge to core," IDC White Paper, 2018.
  3. B. Meyer, Object-oriented software construction, vol. 2. New York: Prentice hall, 1988.
  4. M. Fowler. "Command Query Separation" Martin Fowler-ThoughtWorks (2005) [Internet]. Available:https://martinfowler.com/bliki/CommandQuerySeparation.html
  5. M. Fowler. "Cqrs." Martin Fowler's Blog (2011) [Internet]. Available: https://martinfowler.com/bliki/CQRS.html
  6. G. Young, "Cqrs documents by greg young," Young 56, 2010.
  7. D. Betts, J. Domingues, G. Melnik, F. Simonazzi, and M. Subramanian, "Exploring CQRS and Event Sourcing: A journey into high scalability, availability, and maintainability with Windows Azure," Microsoft patterns & practices, 2013.
  8. S. K. Han and J. I. Choi, "Data Processing System Using CQRS Pattern and NoSQL in V2X Environment," International Journal of Smart Device and Appliance, pp. 1-8, 2020.
  9. T. Rogojanu, M. Ghita, V. Stanciu, R. Ciobanu., R. Marin, and C. Dobre. "Netiot: A versatile iot platform integrating sensors and applications," Global Internet of Things Summit. IEEE, pp. 1-6, 2018.
  10. D. H. Kim, H. S. Oh, H. S. Jeon, and H. J. Park, "The IoT Data Collection Platform based on Optional Protocols," Korea Institute Of Communication Sciences, pp. 1047-1048, 2017.
  11. G. Marquez, M. M. Villegas, and H. Astudillo, "A pattern language for scalable microservices-based systems," Proceedings of the 12th European Conference on Software Architecture: Companion Proceedings, 2018.
  12. L. Baresi and M. Garriga, "Microservices: The Evolution and Extinction of Web Services?," Microservices. Springer, Cham, pp. 3-28, 2020.
  13. A. Henry and Y. Ridene, "Migrating to Microservices," Microservices. Springer, Cham, pp. 45-72, 2020.
  14. S. O. Diakov, T. E. Zubrei, and A. S. Samoidiuk, "Application of event sourcing and CQRS patterns in distributed systems," 2019.