Support Batch Execution Mode #4149
Replies: 4 comments 1 reply
-
|
This is an exciting development! With this improvement, the engine can support two execution modes, and a user can choose one based on their preference (e.g., performance versus latency). The batch mode also provides additional optimization opportunities such as vectorization/SIMD. |
Beta Was this translation helpful? Give feedback.
-
|
In general I like the idea of supporting multiple execution modes, in one engine. Some things to consider:
|
Beta Was this translation helpful? Give feedback.
-
|
I agree with the |
Beta Was this translation helpful? Give feedback.
-
|
I also agree with the Materialized vs. Pipelined name. I also agree with @Xiao-zhen-Liu about the idea of "sliding region size." |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to introduce the idea of supporting multiple runtime execution modes that users can choose from based on the requirements of their use case and the characteristics of their jobs.
The current (and default) execution behavior of our engine is what we call pipelined, or STREAMING, execution mode. In this mode, each operator performs continuous, incremental processing as data flows through the pipeline.
In addition, we plan to support a batch-style execution mode, referred to as BATCH execution mode. This mode executes jobs in a manner more reminiscent of traditional batch processing. We intend to enable this mode via a configuration flag.
Our unified approach to stream and batch processing ensures that applications executed over bounded inputs will produce the same final results regardless of the selected execution mode. Enabling BATCH execution allows the engine to apply additional optimizations that are only possible when operators know that their inputs are bounded.
Below, I will provide an example illustrating the differences between these execution modes:
Beta Was this translation helpful? Give feedback.
All reactions