1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 6 Monaten
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
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