Sequential batch processing with complete fault isolation per record.
Use when: Need fault isolation, ordered processing, or simple batch requirements.
uv run batch_iterator/worker.py # Terminal 1uv run batch_iterator/starter.py # Terminal 2An IteratorBatchWorkflow starts child workflows in parallel for each record. After completion, it calls continue-as-new for the next batch, maintaining bounded history.
Flow: Batch → [Child1|Child2|Child3] → Complete → Continue-as-New
| Pattern | Best For | Throughput | Fault Isolation |
|---|---|---|---|
| Iterator | Sequential, ordered data | Medium | Complete per record |
| Sliding Window | High-throughput parallel | High | Complete per record |
| Heartbeating Activity | Long-running I/O | Medium | Limited (whole batch) |
- Child Workflows - Core pattern functionality
- Continue-as-New - History management for continuous processing