1 個回答
- 最新
- 最多得票
- 最多評論
2
Yes SQS is often used in front of a "worker tier" like this, with instances in an EC2 Autoscaling Group that has scaling policies driven by a queue depth metric, or possibly application-specific custom metrics you generate from the worker nodes if that could provide better information for scaling. API Gateway can interface with SQS.
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 1 年前
As a side note, you'll probably want to look into Attribute Based Selection for giving the ASG a list of multiple instance types to try and launch to have better chances at having capacity available for very large bursts, especially if you're using spot: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html