← English news
Priority 4/5

Amazon ECS Accelerates Service Auto Scaling to Reduce Scale-Out Latency by Up to 76 Percent

Amazon ECS now supports high-resolution 20-second metrics, enabling service auto scaling to detect and respond to sudden traffic spikes much faster.

Amazon ECS has introduced support for high-resolution metrics and optimized metric publishing for service auto scaling, significantly decreasing the time required to detect and react to workload changes. Previously, auto scaling relied on standard CloudWatch metric collection intervals, which introduced a noticeable delay. The new system utilizes 20-second metric reporting intervals, facilitating near real-time scaling decisions.

Primary source

Open AWS What's New ↗

This article summarizes the source. Check the original for full details and conditions.

Comparison

AspectBefore / AlternativeAfter / This
Metric Collection IntervalStandard 1-minute or 5-minute intervalsHigh-resolution 20-second intervals
Scale-Out Trigger TimeAverage of 363 secondsAverage of 86 seconds (up to 76% faster)
Sudden Traffic ProtectionHigher risk of latency spikes due to delayed provisioningRapid provisioning minimizes capacity bottlenecks

Action Checklist

  1. Enable high-resolution metrics in Amazon ECS service definitions Check your CloudWatch custom metric pricing as high-resolution metrics may incur higher costs
  2. Update CloudWatch alarm evaluation periods for ECS target tracking policies Adjust the periods to align with the new 20-second data points to prevent flapping
  3. Test application scale-out response under simulated traffic spikes Verify that downstream resources like databases can handle the faster container startup rates