<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Error recovery using resiliency policies on Dapr Docs</title><link>https://v1-18.docs.dapr.io/operations/resiliency/</link><description>Recent content in Error recovery using resiliency policies on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/operations/resiliency/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://v1-18.docs.dapr.io/operations/resiliency/resiliency-overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/operations/resiliency/resiliency-overview/</guid><description>&lt;p>Dapr provides the capability for defining and applying fault tolerance resiliency policies via a &lt;a href="https://v1-18.docs.dapr.io/operations/resiliency/resiliency-overview/#complete-example-policy">resiliency spec&lt;/a>. Resiliency specs are saved in the same location as components specs and are applied when the Dapr sidecar starts. The sidecar determines how to apply resiliency policies to your Dapr API calls.&lt;/p>
&lt;ul>
&lt;li>&lt;strong>In self-hosted mode:&lt;/strong> The resiliency spec must be named &lt;code>resiliency.yaml&lt;/code>.&lt;/li>
&lt;li>&lt;strong>In Kubernetes:&lt;/strong> Dapr finds the named resiliency specs used by your application.&lt;/li>
&lt;/ul>
&lt;h2 id="policies">Policies&lt;/h2>
&lt;p>You can configure Dapr resiliency policies with the following parts:&lt;/p></description></item><item><title>Targets</title><link>https://v1-18.docs.dapr.io/operations/resiliency/targets/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/operations/resiliency/targets/</guid><description>&lt;h3 id="targets">Targets&lt;/h3>
&lt;p>Named policies are applied to targets. Dapr supports three target types that apply all Dapr building block APIs:&lt;/p>
&lt;ul>
&lt;li>&lt;code>apps&lt;/code>&lt;/li>
&lt;li>&lt;code>components&lt;/code>&lt;/li>
&lt;li>&lt;code>actors&lt;/code>&lt;/li>
&lt;/ul>
&lt;h4 id="apps">Apps&lt;/h4>
&lt;p>With the &lt;code>apps&lt;/code> target, you can apply &lt;code>retry&lt;/code>, &lt;code>timeout&lt;/code>, and &lt;code>circuitBreaker&lt;/code> policies to service invocation calls between Dapr apps. Under &lt;code>targets/apps&lt;/code>, policies are applied to each target service&amp;rsquo;s &lt;code>app-id&lt;/code>. The policies are invoked when a failure occurs in communication between sidecars, as shown in the diagram below.&lt;/p></description></item></channel></rss>