{"title":"Data Processing System Using CQRS Pattern and NoSQL in V2X Environment","authors":"Sangkon Han, Jungin Choi","doi":"10.21742/ijsda.2020.8.1.01","DOIUrl":null,"url":null,"abstract":"The vehicle-to-everything (V2X) environment comprises a variety of devices that exchange or share vehicle-to-vehicle, vehicle-to-infrastructure, and vehicle-to-pedestrian information while the vehicles are being driven. In V2X environments, large amounts of unstructured data are recorded by various devices. Storing large amounts of unstructured data in a relational database would require all the data generated by the different types of devices to be normalized. In addition, the transaction-based Atomic, Consistency, Isolation, and Durability (ACID) characteristics of relational databases would not be suitable for processing large amounts of data of this nature. In this study, we apply the Command and Query Responsibility Segregation (CQRS) pattern to separate commands and queries and to process large-scale data efficiently. NoSQL, which provides specialized functions for handling unstructured data, as well as the commands and queries, can be separated; thus, NoSQL and RDBMS can be selectively used depending on the V2X environment and system characteristics. We propose a data processing system suitable for the V2X environment using a CQRS pattern and the NoSQL-based database. By applying the CQRS pattern, NoSQL and RDBMS can be used together. When storing large amounts of data, use NoSQL, and when providing information or statistics to users, select an RDBMS to use together. In addition, both repositories can be easily scaled up when processing large amounts of data, making efficient use of resources.","PeriodicalId":326672,"journal":{"name":"International Journal of Smart Device and Appliance","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Smart Device and Appliance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21742/ijsda.2020.8.1.01","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
The vehicle-to-everything (V2X) environment comprises a variety of devices that exchange or share vehicle-to-vehicle, vehicle-to-infrastructure, and vehicle-to-pedestrian information while the vehicles are being driven. In V2X environments, large amounts of unstructured data are recorded by various devices. Storing large amounts of unstructured data in a relational database would require all the data generated by the different types of devices to be normalized. In addition, the transaction-based Atomic, Consistency, Isolation, and Durability (ACID) characteristics of relational databases would not be suitable for processing large amounts of data of this nature. In this study, we apply the Command and Query Responsibility Segregation (CQRS) pattern to separate commands and queries and to process large-scale data efficiently. NoSQL, which provides specialized functions for handling unstructured data, as well as the commands and queries, can be separated; thus, NoSQL and RDBMS can be selectively used depending on the V2X environment and system characteristics. We propose a data processing system suitable for the V2X environment using a CQRS pattern and the NoSQL-based database. By applying the CQRS pattern, NoSQL and RDBMS can be used together. When storing large amounts of data, use NoSQL, and when providing information or statistics to users, select an RDBMS to use together. In addition, both repositories can be easily scaled up when processing large amounts of data, making efficient use of resources.