传统加工
传统处理是一种离线处理,涉及在处理数据时对数据进行简单计算。它主要存储没有太多聚合和结构化的原始数据。它具有各种操作,例如对原始数据执行的数据的预处理和提取。数据通过一系列算法进行处理。
流处理
流处理是一种实时处理,其中在创建数据时对数据执行某些操作。这些操作可以以串行或并行方式执行。它还允许用户查询连续的数据流,并在接收到数据的一小段时间内确定条件。流处理还通过各种方法执行数据分析、数据转换和数据聚合。它以更加聚合和结构化的方式存储数据。
传统处理与流处理的区别
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. |