Documentation
¶
Overview ¶
Package main demonstrates dureq batch processing — a shared preprocessing step (onetime) followed by parallel per-item processing with individual success/failure tracking and result collection.
Scenario: Image processing pipeline
- onetime: download a shared background template image
- per-item: overlay each user's text onto the template and produce a result URL
The batch orchestrator dispatches the onetime job first, waits for completion, then dispatches items in chunks (backpressure). Individual item failures don't stop the rest (continue_on_error policy).
Click to show internal directories.
Click to hide internal directories.