Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Polly Fallbacks: The Last Line of Defense in .NET Service-to-Service Communication

Blog post from Twilio

Post Details
Company
Date Published
Author
Bryan Hogan
Word Count
1,969
Company Posts That Month
36
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Fallback policy in Polly is used to handle failures that cannot be recovered from by implementing fault tolerance in distributed systems. It provides a last line of defense by executing a specific action when all else fails, such as logging or notifying an admin. The Wait and Retry policy is combined with the Fallback policy to retry failed requests and provide additional resilience. A policy wrap allows multiple policies to be combined and executed in series, enabling flexible fault tolerance implementation. By using the HttpClientFactory pattern, instances of HttpClient are created that execute the WrapOfRetryAndFallback policy handler, providing a robust way to handle failures in service-to-service communication on the web.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 1 459 62 28 +84%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.