Skill 3.2.1

Identifying and remediating scaling issues

Key Concepts

Signs include rising TargetResponseTime and 5xx errors on the load balancer, growing SQS backlog, Lambda Throttles, DynamoDB ThrottledRequests, RDS connection exhaustion and high CPU. Auto Scaling activity history may show scaling that was too slow, limited by the group's maximum size, or blocked by service quotas or capacity shortages.

Remedies include scaling on a better metric, raising maximums and quotas, adding warm pools or provisioned concurrency for slow starts, adding caching, using RDS Proxy for connection pooling with Lambda, switching DynamoDB to on-demand or fixing hot partition keys, and adding queues to absorb spikes.