System Stable : Robust connected applications with Polly
summary
Polly is a .NET Standard resilience library used with HTTP client Factory to add retries, backoff with jitter, timeouts, caching, circuit breakers and bulkhead isolation to real requests. Examples show retry counts of three to four, exponential wait-and-retry delays (e.g. 2s→4s→8s), an advanced circuit breaker that trips at 50% failures over 30s with ≥7 requests for 60s, and a bulkhead configured with 3 execution slots and 6 queue slots. Demo confirms low overhead when idle and clear fast-fail behavior and fallback responses when systems remain down.
AI-written summary · about
chapters (25)
- 0:00System Stable : Robust Connected Applications with Polly, the .NET Resilience Framework
- 2:27What Will Your Application Do?
- 7:10What is a Resilience Framework
- 9:37Policies
- 12:00How a Request Works
- 12:10Retry Policy
- 13:16Timeline of a Retry
- 13:50Backing off with Wait and Retry
- 16:03Reauthorization
- 17:00General Policy Behavior
- 20:50Circuit Breaker State Machine
- 25:38Reactive Strategies
- 25:52Combining the Fallback, Retry, and Circuit Breaker
- 32:20Http Client Factory
- 33:37HttpClientFactory and a Single Policy
- 33:58The HttpClientFactory and the Polly Registry
- 35:41Testing
- 36:26Proactive Strategies
- 38:11Timeout
- 39:44Caching
- 44:22Bulkhead Isolation
- 45:44Execution and Queueing
- 49:02Protecting the whole Application
- 50:55Coming Soon.
- 53:42More Information
related talks
42mBulletproof Transient Error Handling with Polly
51mBulletproof Transient Error Handling with Polly
01h 02mBuilding cloud-ready applications in .NET
01h 31mFive Design Patterns to build resilient Applications
52mPerformance & Stability Anti patterns
56mOptimizing your HttpClient usage
16mEngineering Failure-Resilient Systems
26mThe tools and techniques behind resilient systems
