Skip to main content

Parallel Node

What it does

Fans out execution to all outgoing edges concurrently so independent work can run in parallel.

Inputs/config

  • No required config.
  • Concurrency behavior is driven by outgoing edges.

Outputs/branches

  • No matched_output.
  • Executes every outgoing edge concurrently.
  • Typically paired with merge_node to join results.

Example usage snippet

{
"id": "n_parallel",
"type": "parallel_node",
"edges": ["n_a", "n_b", "n_c"]
}

Common pitfalls

  • Sharing mutable state assumptions across branches.
  • Fan-out to too many expensive operations at once.
  • Forgetting downstream synchronization with merge_node.