Skill 4.3.8

Analyze application performance issues

Key Concepts

Start with metrics to find when and where latency or errors increased, then use X-Ray traces and the service map to see which component is slow. Common causes include Lambda cold starts or too little memory, throttling (Lambda concurrency, DynamoDB capacity, API Gateway limits), hot DynamoDB partitions, database connection exhaustion, slow third-party calls and missing caches.

Once found, confirm the cause, apply a targeted fix such as more memory, provisioned concurrency, an index, caching or RDS Proxy, and verify the improvement with the same metrics. CloudWatch Application Signals and Contributor Insights speed up this analysis.