1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Unfortunately there are cases where KMS api calls are just to frequent in production- or load-test loads. You'll hit the quota of the KMS APIs and get throttled.
There are 4 ways to avoid being throttled:
- change the quota/limit: Some of the quota's can be increased by filing a support ticket to AWS.
- use data key caching: If you are in control of the use of the AWS Encryption SDK (since you log the Throttling error you might be able to use this method)
- use different kind of encryption at rest. (Cloudwatch supports encryption at rest by default AWS managed SSE keys are used that will not get throttled)
- make less log lines, a good practice is to log one json object that contains everything for one request
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 6 meses
- AWS OFICIALAtualizada há um ano