Make your microservice resilient with Polly's Circuit Breaker | .NET Core
Become a Patreon and get source code access: / nickchapsas
Check out my courses: dometrain.com
Hello everybody I'm Nick and in this video I will show you how you can implement Polly's Circuit Breaker and Advanced CIrcuit Breaker policies for your microservices. The circuit breaker pattern is one of the most important and most useful patterns because it allows us to fail fast in scenarios where success is unlikely and saves server resources on requests that are unlikely to succeed.
Give Polly a start on GitHub: github.com/App-vNext/Polly
Don't forget to comment, like and subscribe :)
Social Media:
Follow me on GitHub: bit.ly/ChapsasGitHub
Follow me on Twitter: bit.ly/ChapsasTwitter
Connect on LinkedIn: bit.ly/ChapsasLinkedIn
#dotnet #polly #microservices
Great overview and intro into the topic!
Thanks so much for these valuable resources!
This is golden! Thanks a lot sir!
Perfect content as usual! Thank you very much :)
Thanks for the great videos. You have tons of information which is not found in many youtube channels. Should that retry policy to be created for every controller?
Thank you Nick
Hi Nick! First I want to tell you that I like the practical way you explain both fundamental concepts for programming and some more technical ones. Also, I've seen some videos in which you use Postman to make http calls, and I wanted to know why you don't use directly the HTTP Client that comes with Rider.
Hi Nick, Can you please make few videos on handling data consistency when any microservice fails how we will maintain ACID. I mean video on maintaining consistency in distributed system!
Great videos, thank you! Can you make a video about GraphQL in ASP.NET Core
Hi Nick. Thanks for another great video. Why would you not make the method async in the execute async? ie. using var response = await _resilientPolicy.ExecuteAsync(async () => await _client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken));
Hey Nick ,can you give demo for Circuit breaker implemention for sql databse connections
are you planning to kill us? how many things we need to learn, thank you for the great vidoes though :) I just implemented the elasticsearch/kibana and I must say all APIs should have it!
@tintuu well I assume opsgenie and cloudwatch can wait but I might need to work on ES queries do you know a good source?
@tintuu thank you, good to know :)
Perfect explanation but it would be better to have a code
How do we know if the circuit state is open?
There was if statement at the top of the executing function. Under CircuitBreakerPolicy.CircuitState
bb