Introduction You have a list of items to process, and each item takes a while. Running them one after another wastes time, and running them in parallel on threads loses everything when the process dies halfway. Fan-out/fan-in in Dapr Workflow solves both. You schedule a batch of activities at once, wait for all of them with when_all, and combine the results. Each finished activity is recorded in the workflow's history, so after a crash the workflow only schedules the activities that hadn't finished.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Marc
Contact Marc, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack