SPINE Interactive Demo

Fan-Out Simulator

Visualize how parallel task execution works with configurable workers and task counts.

Configuration

2 20
1 (sequential) 10

Task Execution

Task Queue

How Fan-Out Works

Fan-out distributes independent tasks across multiple workers for parallel execution. Each worker processes one task at a time from the queue.

tasks = [task1, task2, ..., taskN]
results = fan_out(tasks, max_workers=3)
# Tasks run in parallel, results aggregated

The max_workers parameter limits concurrency. More workers = faster completion (up to the task count), but higher resource usage.