Browse > Article
http://dx.doi.org/10.6109/jkiice.2020.24.11.1539

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

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)
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.
Keywords
IoT Platform; CQRS Pattern; Query Side; Command Side; Read Database;
Citations & Related Records
연도 인용수 순위
  • Reference
1 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.
2 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.
3 L. Baresi and M. Garriga, "Microservices: The Evolution and Extinction of Web Services?," Microservices. Springer, Cham, pp. 3-28, 2020.
4 A. Henry and Y. Ridene, "Migrating to Microservices," Microservices. Springer, Cham, pp. 45-72, 2020.
5 S. O. Diakov, T. E. Zubrei, and A. S. Samoidiuk, "Application of event sourcing and CQRS patterns in distributed systems," 2019.
6 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.
7 D. Reinsel, G. John, and R. John, "The digitization of the world from edge to core," IDC White Paper, 2018.
8 B. Meyer, Object-oriented software construction, vol. 2. New York: Prentice hall, 1988.
9 M. Fowler. "Command Query Separation" Martin Fowler-ThoughtWorks (2005) [Internet]. Available:https://martinfowler.com/bliki/CommandQuerySeparation.html
10 M. Fowler. "Cqrs." Martin Fowler's Blog (2011) [Internet]. Available: https://martinfowler.com/bliki/CQRS.html
11 G. Young, "Cqrs documents by greg young," Young 56, 2010.
12 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.
13 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.
14 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.