Requirement Summary:
Users experience buffering/delay when starting video stream
Architecture:
CloudFront → API Gateway → Lambda → DynamoDB
Need to identify root cause of performance issues
Evaluate Options:
A: Enable AWS X-Ray tracing
Ideal for end-to-end tracing
Visualizes latency across services (API Gateway, Lambda, DynamoDB)
Creates a service map for easy identification of bottlenecks or errors
Designed specifically for distributed tracing and performance monitoring
B: CloudWatch Logs Insights
⚠️ Helpful for querying logs
But lacks the visual trace linkage across services like X-Ray
Does not identify where latency accumulates
C: AWS Config
Tracks configuration changes, not runtime performance
D: CloudTrail + CloudWatch Logs
More useful for audit/logging, not tracing performance or latency issues
X-Ray overview: https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html
Service map: https://docs.aws.amazon.com/xray/latest/devguide/xray-console-service-map.html
Tracing API Gateway: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html
Submit