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
Articles by Marc Duiker
How to Test AI Agent Crash Recovery Locally with Dapr Workflow
Introduction Most advice on testing AI agents is about the answers, such as evals and golden datasets. Crash recovery needs its own test. If your agent runs as a durable workflow, a restart should resume the same run without repeating finished steps or side effects. You can prove that on your laptop, but only if the crash happens at exactly the same place every time, and pressing Ctrl+C half a second late does not give you that.
Restate or Diagrid Catalyst for Durable Tool Calls?
"Retry the tool call" sounds harmless until the tool issues a refund. Then durability, identity, and evidence stop being three concerns owned by three different teams and turn into one incident. Take a support system built out of several agents. A triage agent classifies the ticket. An account agent retrieves customer state. A policy agent decides whether a refund is allowed. A human approves the recommendation. An action agent calls the refund tool.
Temporal vs. Diagrid Catalyst: Which Durable Execution Approach Fits a Long-Running AI Research Agent?
Getting a research agent to call three tools in a demo is easy. The hard part starts when the seventh tool call times out and the first six have already spent money and changed state somewhere. So this is a question about recovery, not about AI frameworks. Temporal and Diagrid Catalyst both do durable execution, and both position themselves for AI workloads. What separates them is what each one asks you to build and operate around your agent.
New Dapr University track for Dapr Workflows in .NET with Aspire
A free, self-paced track that walks through Dapr Workflow in a .NET Aspire solution. Runs in your browser and connects to a cloud-based sandbox, so there's nothing to install locally.
Open Source .NET Aspire and Dapr: What Are They?
Over the last weeks, I've seen many questions from the .NET community on how .NET Aspire compares to Dapr, the Distributed Application Runtime. Some say the features appear to be very similar and think Aspire is a replacement for Dapr (which it isn’t). The TL;DR is: .NET Aspire is a set of tools for local development, while Dapr is a runtime offering building block APIs and is used during local development and running in production.
Join the Diagrid Catalyst AWS Hackathon!
We are excited to invite you to the Diagrid Catalyst AWS Hackathon—a four-week, virtual event where you can unleash your creativity and showcase your coding skills by building or modernizing a cutting-edge application using the powerful Diagrid Catalyst platform. Get ready to collaborate, compete, and win cash prizes! Register now. What is Diagrid Catalyst? Diagrid Catalyst is a Developer API platform providing a brand-new approach to distributed application development.
Dapr: Create Applications Faster with Standardized APIs
Building applications and getting them ready for production is a huge task. Take a look at the Twelve-Factor App that lists many essential aspects involved in creating and running SaaS products. Development teams must be able to understand and implement all of these technical factors in a timely manner. Teams are expected to deliver functionality fast, while operational costs need to be minimized.
Marc Duiker
Cookie Policy When you visit, the website may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device, but does not usually directly identify you. The information is mostly used to make the website display the embedded content you expect to see and work the way you expect it to. These cookies are necessary for the website to function and cannot be switched off in our systems.
Azure Web PubSub
In this post, I compare two cloud pubsub services: Azure Web PubSub and Ably, to determine which provides the best development experience. The context will be a multi-user pixelart drawing application that I've built with both services. How easy is it to use their SDKs/APIs? How much code do you need to write to realtime capabilities to your app? This is not a step-by-step instruction on how to build the entire application. I'll highlight some key features and differences.
ServerlessDays Amsterdam, a personal post-mortem
12 May 2020 - Marc Duiker It is now May 12th, four days after the ServerlessDays Amsterdam 2020 virtual conference. The conference was incredibly fun and slightly terrifying at the same time. I had two roles during the conference; in the morning, I would do the hosting with Lian Li (who really has a talent for MC-ing), and during the entire day, I would be responsible for the technical part.
Live streaming the meetups and conference for ServerlessDays Amsterdam - Part 1
Everyone is live streaming! Well, ok, not everyone, but a lot of meetups & conferences which were previously only offline and IRL have an online presence these days. It really lowers the boundary of attending these events, and I think this is great! ServerlessDays Amsterdam (which I’m co-organizing) is also moving online for both the meetups and the conference. In this post, I’m highlighting some details on how we’re setting this up.
Improving Unit Test Readability: Helper Methods and Named Arguments
‘Uncle Bob’ wrote the following in Clean Code: A Handbook of Agile Software Craftsmanship : “The ratio of time spent reading (code) versus writing is well over 10 to 1 … (therefore) making it easy to read makes it easier to write.” So think about that when you write your next bit of code. You need to make sure your code is easily readable and understandable for others, you hardly ever write code just for yourself. Unit test code is not different than ‘production’ code.
Sitecore PowerShell Extensions
Although I had heard of Sitecore PowerShell Extensions (SPE) several years ago, I never used it myself until earlier this month. My interest was raised again during the Accelerated development with Sitecore PowerShell Extensions session by Adam Najmanowicz during SUGCON Europe 2016. Right after I got back from SUGCON, the project I was working on had a nice challenge.
Show More
loading
Actions
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.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