|
|
|
|
|
by kevan
2804 days ago
|
|
>you'll occasionally get 503's from their APIs, so you need to wrap all your calls to them in retries. No matter which cloud platform you're using you should do this[1]. I'm not familiar with the GCP SDK but I know the AWS SDK has it built in[2]. If you're not using the SDK then you have to build it yourself. There will always be a small percentage of transient errors due to the network, DNS, timeouts, hardware failure, etc. [1] This is a blanket generalization, there are some situations where you shouldn't use the backoff/retry pattern even for retryable errors. [2] https://docs.aws.amazon.com/general/latest/gr/api-retries.ht... |
|