Icon

01_Simple_Streaming_and_Components

Simple Streaming (i.e. row-wise concurrent node execution)

Streaming execution is another way to execute nodes and is different to the default "node-by-node" execution. Benefits are less I/O and faster runtime at the expense of limited explorativity and traceability. Nodes that are streamable are executed concurrently. This workflow demonstrates the streaming capability.

Annotations and comments
  • Simple Streaming (i.e. row-wise concurrent node execution) Streaming execution is another way to execute nodes and is different to the default "node-by-node" execution. Benefits are less I/O and faster runtime at the expense of limited explorativity and traceability. Nodes that are streamable are executed concurrently. The first component reads a csv file and does some basic processing on it. The second component generates a lot of data and processes it as well. Here the streaming execution is more obvious.
  • How to create a component? - select multiple nodes - right click - 'Create Component...' - right click on the meta node - 'Metanode > Convert to Component' In order to run all nodes within a component in streamable fashion, configure the node > 'Job Manager Selection' > select 'Simple Streaming'
  • How to tell whether a particular node is streamable? By using the drop-down menu (the little dots) in the Node Repository you can either filter for streamable nodes ("Show Streamable Nodes Only") or can display it as an additional information ("Show Additional Info"). Within a streamed component, nodes with green arrows on it are streamable, those with a red cross aren't. Non-streamable nodes can still be executed within a streamed component, however, they'll be executed in node-by-node fashion and won't benefit from the advantages of streaming.
  • load worfklow local CSV file
  • do some math

Nodes

Extensions

Links