API timeout/retry policies

Learn the timeout/retry policies of the Radius API

Radius services

There are two main Radius services that will provide the resources described below:

  • Deployment Engine
  • Resource Provider

See Concepts for background on these components.

Deployment engine behavior

OperationResource NameServer Timeout (Seconds)Async Operation retry condition
Default retry timeout for resource deploymentThe name of your resource.12.5 minutes per resourceRetries on 5xx errors, 50 retry requests
Default request timeoutDependent on UCP

Resource provider behavior

Timeout duration

The default timeout times are listed below but be aware that the asynchronous timeout varies per resource type.

  • Default synchronous API timeout : 60 seconds. It depends on UCP gateway timeout.
  • Default asynchronous API timeout : 120 seconds

Asynchronous operation retry policy

Each resource type controller decides whether it will retry to process the operation when it fails, but the current async operation controller immediately marks any errors as a Failed operation except for the following scenario:

  • Panic happens while processing the async operation by code defect (retry once, then mark the operation Failed)
  • Resource provider process exits by unexpected process crashes (such as node failure, memory leak) and redeploying Radius. (retry once , then mark the operation Failed)

Applications.Core resource provider

Resource TypeOperationAPI TypeServer Timeout (Seconds)Async Operation retry condition
Applications.Core/environmentsLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Core/applicationsLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Core/containersLIST/GETSynchronousdefault
Applications.Core/containersPUT/PATCH/DELETEAsynchronous300default
Applications.Core/gatewaysLIST/GETSynchronousdefault
Applications.Core/gatewaysPUT/PATCH/DELETEAsynchronousdefaultdefault
Applications.Core/extendersLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Core/extendersPOST ListSecretSynchronousdefault

Applications.Dapr resource providers

Resource TypeOperationAPI TypeServer Timeout (Seconds)Async Operation retry condition
Applications.Dapr/pubSubBrokersLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Dapr/pubSubBrokersPOST ListSecretSynchronousdefault
Applications.Dapr/secretStoresLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Dapr/secretStoresPOST ListSecretSynchronousdefault
Applications.Dapr/stateStoresLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Dapr/stateStoresPOST ListSecretSynchronousdefault

Applications.Datastores resource providers

Resource TypeOperationAPI TypeServer Timeout (Seconds)Async Operation retry condition
Applications.Datastores/mongoDatabasesLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Datastores/mongoDatabasesPOST ListSecretSynchronousdefault
Applications.Datastores/rabbitMQMessageQueuesLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Datastores/rabbitMQMessageQueuesPOST ListSecretSynchronousdefault
Applications.Datastores/redisCachesLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Datastores/redisCachesPOST ListSecretSynchronousdefault
Applications.Datastores/sqlDatabasesLIST/GET/PUT/PATCH/DELETESynchronousdefault
Applications.Datastores/sqlDatabasesPOST ListSecretSynchronousdefault