This article shows in a simple way the foundation of libraries like DurableTask and its descendant Azure Durable Functions. It starts with the history of exception based flow control and ends by showing how Task-based API can be used to provide a similar interruptible flow with no abusive exception usage. Dark ages of exception-driven programming … Continue reading Unexceptional non-blocking task-based flow control in .NET
Why are they still working on the whole async-await thing? What is Task, Async Await, ValueTask, IValueTaskSource ? How to keep your sanity in modern .NET world?
We saw that the Delay operation is either completed or results in a never ending task, that nobody ever completes. Could we make it easier and provide a better way for delaying operation?
TL;DR We've already seen here and here that with async-await one could easily sketch an orchestration/saga for any process that should be both, robust and resilient. It's time to take a look how a scheduler for such a process could be implemented. Delay with no Task Usually, when we want to delay an action in … Continue reading Implementing a scheduler for your orchestrations
TL;DR I've already shown here that with some trickery you can write orchestrations in C# based on async-await. It's time to revisit this idea, now with a custom orchestration of mine. Show me the code! The orchestration is based on the event sourcing infrastructure built by me. This project is not public (yet) but it's … Continue reading Orchestrating processes for fun and profit
TL;DR Do you call a few services in a row as a part of a bigger process? What if one of the calls fails? What if your hosting application fails? Do you provide a reliable way for successfully finishing your process? If not, I might have a solution for you. Anatomy of a process A … Continue reading Orchestrating processes with full recoverability
TL;DR This is a follow up post to Async pump for better throughput in Azure. Please read the first before moving forward. Feedback I've been given a lot of feedback about my Async pump post. In a few cases this blog post from Ayende was quoted as it describes exactly the same approach. You can … Continue reading Async programming model