1 個回答
- 最新
- 最多得票
- 最多評論
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
已回答 2 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 3 年前