Home / Companies / Orkes / Blog / Post Details
Content Deep Dive

How to Process a List of Items in Parallel in Orkes Conductor

Blog post from Orkes

Post Details
Company
Date Published
Author
Maria Shimkovska
Word Count
1,291
Company Posts That Month
6
Language
English
Hacker News Points
-
Summary

The DYNAMIC_FORK task in Orkes Conductor allows for the parallel execution of tasks across multiple branches by dynamically forking based on a list of inputs, with each branch executing one task. This task eliminates the need for sequential processing by enabling simultaneous task execution, followed by a JOIN task that aggregates outputs from all branches. It is particularly useful in scenarios such as processing e-commerce cart items, triggering notifications across different channels, or running compliance checks in financial workflows, where tasks can be run concurrently rather than sequentially, thus enhancing efficiency and speed. The DYNAMIC_FORK task is demonstrated through various real-world examples, including an e-commerce order fulfillment process, a SaaS notification system, and a fintech loan application workflow, showcasing its ability to handle variable list sizes and streamline processes. A practical example using a weather lookup workflow illustrates how the DYNAMIC_FORK task can be utilized to fetch weather data for multiple cities in parallel, highlighting its utility in handling asynchronous operations without the need for complex coding solutions.

Trends Found in this Post

No tracked trend matches for this post yet.