📜  传统处理与流处理之间的区别

📅  最后修改于: 2021-08-27 17:34:38             🧑  作者: Mango

传统加工

传统处理是一种离线处理,涉及在处理数据时对数据进行简单的计算。它主要存储未汇总和结构化的原始数据。它具有各种操作,例如对原始数据执行的预处理和数据提取。数据通过一系列算法进行处理。

流处理

流处理是一种实时处理,其中在创建数据时会对数据执行某些操作。可以以串行或并行方式执行操作。当接收到数据时,它还允许用户查询连续数据流并在短时间内确定条件。流处理还通过各种方法执行数据分析,数据转换和数据聚合。它以更聚合和结构化的方式存储数据。

传统处理和流处理之间的区别

S.NO. Traditional Processing Stream Processing
1. It involves simple computations on data when data is being processed. It involves complex operations on multiple input stream when data is being processed.
2. In Traditional processing, the processing time is unlimited and cannot be predicted. In Stream processing, the processing time is limited.
3. It stores data in raw form. It stores data in a more summarized form.
4. It gives accurate results. It gives more approximate results.
5. In Traditional processing, memory usage is not limited. In Stream processing, the memory usage is limited.
6. It is a form of offline processing. It is a form of real-time processing.