Bhatt Nirav, Thakkar Amit
Information Technology, Chandubhai S Patel Institute of Technology, CHARUSAT, Anand, Gujarat, India.
Computer Science and Engineering, Chandubhai S Patel Institute of Technology, CHARUSAT, Anand, Gujarat, India.
PeerJ Comput Sci. 2021 Mar 10;7:e426. doi: 10.7717/peerj-cs.426. eCollection 2021.
Stream data is the data that is generated continuously from the different data sources and ideally defined as the data that has no discrete beginning or end. Processing the stream data is a part of big data analytics that aims at querying the continuously arriving data and extracting meaningful information from the stream. Although earlier processing of such stream was using batch analytics, nowadays there are applications like the stock market, patient monitoring, and traffic analysis which can cause a drastic difference in processing, if the output is generated in levels of hours and minutes. The primary goal of any real-time stream processing system is to process the stream data as soon as it arrives. Correspondingly, analytics of the stream data also needs consideration of surrounding dependent data. For example, stock market analytics results are often useless if we do not consider their associated or dependent parameters which affect the result. In a real-world application, these dependent stream data usually arrive from the distributed environment. Hence, the stream processing system has to be designed, which can deal with the delay in the arrival of such data from distributed sources. We have designed the stream processing model which can deal with all the possible latency and provide an end-to-end low latency system. We have performed the stock market prediction by considering affecting parameters, such as USD, OIL Price, and Gold Price with an equal arrival rate. We have calculated the Normalized Root Mean Square Error (NRMSE) which simplifies the comparison among models with different scales. A comparative analysis of the experiment presented in the report shows a significant improvement in the result when considering the affecting parameters. In this work, we have used the statistical approach to forecast the probability of possible data latency arrives from distributed sources. Moreover, we have performed preprocessing of stream data to ensure at-least-once delivery semantics. In the direction towards providing low latency in processing, we have also implemented exactly-once processing semantics. Extensive experiments have been performed with varying sizes of the window and data arrival rate. We have concluded that system latency can be reduced when the window size is equal to the data arrival rate.
流数据是从不同数据源持续生成的数据,理想情况下可定义为没有离散起点或终点的数据。处理流数据是大数据分析的一部分,其目的是查询不断到达的数据并从流中提取有意义的信息。尽管早期对流数据的处理使用批处理分析,但如今像股票市场、患者监测和交通分析等应用,如果输出以小时和分钟为单位生成,可能会导致处理上的巨大差异。任何实时流处理系统的主要目标是在流数据到达时立即进行处理。相应地,对流数据的分析也需要考虑周围的相关数据。例如,如果不考虑影响股票市场分析结果的相关或依赖参数,这些结果往往是无用的。在实际应用中,这些相关流数据通常来自分布式环境。因此,必须设计能够处理来自分布式源的此类数据到达延迟的流处理系统。我们设计了能够处理所有可能延迟并提供端到端低延迟系统的流处理模型。我们通过考虑影响参数,如美元、油价和金价,以相等的到达率进行了股票市场预测。我们计算了归一化均方根误差(NRMSE),它简化了不同规模模型之间的比较。报告中呈现的实验对比分析表明,在考虑影响参数时结果有显著改善。在这项工作中,我们使用统计方法预测来自分布式源的可能数据延迟到达的概率。此外,我们对流数据进行了预处理,以确保至少一次交付语义。在朝着提供低延迟处理的方向上,我们还实现了恰好一次处理语义。我们使用不同大小的窗口和数据到达率进行了广泛的实验。我们得出结论,当窗口大小等于数据到达率时,系统延迟可以降低。