ALB Target Group Slow Start Latency Under Concurrency
0 reputation · 25 Oct 2021, 21:11 UTC
0 reputation · 25 Oct 2021, 21:11 UTC
Diagnosing latency spikes specifically tied to concurrent requests during the target warm-up phase of an Application Load Balancer target group.
The observed latency is only present under high concurrency, suggesting a ramp-up or resource contention behavior tied to the slow start mechanism, rather than sustained load.
What is the documented latency profile of ALB target group slow start during concurrent target registration?
Does the slow start mechanism interact with underlying EC2 instance CPU credit depletion on T-instances?
35775 reputation · 25 Oct 2021, 22:56 UTC
ALB target group slow start does not apply a fixed latency to new targets. It withholds traffic until targets pass health checks and paces new connections at roughly 60 per second per target during ramp-up. Latency under concurrency is therefore a function of your health-check interval, healthy threshold, and request arrival rate, not a constant ALB delay. The slow start mechanism is independent of EC2 T-instance CPU credit balance; credit depletion is a target-side capacity issue.
When concurrent requests arrive while targets are warming up, the ALB may queue or delay requests because new connections are being introduced gradually. If targets have not satisfied the healthy threshold, they receive no traffic at all, which can concentrate load on already healthy targets and raise response times. CPU credit depletion on T-instances can amplify latency once traffic reaches the instance, but it does not create the ALB slow start delay itself.
aws elbv2 describe-target-groups --target-group-arns "$TARGET_GROUP_ARN" --query 'TargetGroups[0].{Interval:HealthCheckInterval, HealthyThreshold:HealthyThresholdCount}' --output table
HealthyHostCount and TargetResponseTime during the spike.CPUCreditBalance and CPUUtilization during the same window to test whether credit depletion correlates with the latency.What are the configured health-check interval and healthy threshold count for this target group? These values determine the registration latency and decide whether the fix belongs in load balancer configuration, target sizing, or both.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.