1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi, please see this link to understand scaling options for DocumentDB: https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-manage-performance.html.
相關內容
- 已提問 6 個月前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 個月前
Thank you. I've read that page. Does it mean that auto-scaling is available for storage but not compute?
Correct, at this time there is no built-in mechanism to scale the compute layer automatically. You could implement a solution based on Cloudwatch and Lambda, for example when the alarm threshold is reached, Lambda script will be triggered to add a new replica to the cluster (scale out). See https://aws.amazon.com/blogs/database/amazon-documentdb-with-mongodb-compatibility-read-autoscaling/ or https://github.com/theuves/docdb-autoscaling/tree/master