The Brand New Way to do Fault Handling in Polly V8
Milan Jovanović Milan Jovanović
102K subscribers
18,105 views
685

 Published On Oct 10, 2023

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

Polly v8 was just released, and it comes with a redesigned API for fault handling. We're no longer using fault handling policies - now they're called fault handling strategies or resilience strategies. In this video, I'll show you what the new API looks like and compare it to the old API. And we'll take a look at some benchmarks to see what are the performance improvements.

Join my weekly .NET newsletter:
- https://www.milanjovanovic.tech

Read my Blog here:
- https://www.milanjovanovic.tech/blog

Chapters
0:00 How the Polly V7 API looks like
5:02 Taking a look at Polly V8 ResiliencePipelineBuilder
9:23 Supporting cancellation with Polly
10:39 Creating a Fallback resilience strategy
11:48 Dependency injection support in Polly V8
14:46 Discussing Polly V8 benchmarks

show more

Share/Embed