1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 8 meses
- Como solucionar problemas e resolver a utilização elevada da CPU em instâncias do Amazon DocumentDB?AWS OFICIALAtualizada há 8 meses
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