containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECS] ALB slow start on ECS deployments

Open wagner opened this issue 2 years ago • 4 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request In 2018, AWS announced slow start load balancing algorithm for ALB. Unfortunately, this feature is ignored by ECS.

The problem is that on a new deployment, when the new (and cold) tasks enter the "healthy" state on the target group, the old ones are shut down automatically, forcing the new tasks to exit "slow start" mode and receive 100% of requests all of sudden, leading to undesirable latency spikes.

ECS needs to shut down older tasks only after the slow start period.

Which service(s) is this request for? ECS.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? I have low latency requirements, and my application takes about ten requests to warm up and respond with full performance. ALB's slow start feature would fit like a glove, but it's incompatible with ECS.

Are you currently working around this issue? No, but I'm open to suggestions.

Attachments

wagner avatar Feb 23 '23 15:02 wagner

We are also looking for this feature and it seem to be a major gap in the original intent of the slow start feature.

khalidKhaliqi avatar Jun 27 '23 23:06 khalidKhaliqi

I also need this feature.

commarch-cverret avatar Jun 27 '23 23:06 commarch-cverret

This is really bad for production because the service stays with a low capacity. Please fix.

pistazie avatar Jan 24 '24 19:01 pistazie

I would like to see this implemented for ECS too.

philjackson avatar Jan 25 '24 09:01 philjackson