TransferConfig for multipart upload

0

Customer wants to tune their multipart upload configuration for more resiliency. They are using boto3, and have looked at TransferConfig, and notice it has a tunable retry number for downloads, but not uploads. They are looking for information on tuning retry behavior for multipart upload. Can you set a max? Is there a default max retry of multi part upload for a particularly object? In general, do we have any documentation on this?

AWS
Ted_Z
demandé il y a 3 ans354 vues
1 réponse
0
Réponse acceptée

You can potentially update in the Botocore config. That's where the default retry comes from. A sample retry configuration from https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html

by using

[myConfigProfile]
region = us-east-1
max_attempts = 10
retry_mode = standard

or

config = Config(
   retries = {
      'max_attempts': 10,
      'mode': 'standard'
   }
)
AWS
Vivek_S
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions