Interview Prep/AWS/Serverless & Messaging (Step Functions, EventBridge, SQS, SNS)

Your SQS queue backlog keeps growing during peak hours. What can you do?

IntermediateScenarioServerless & Messaging (Step Functions, EventBridge, SQS, SNS)
Answer

Increase Lambda concurrency or consumer count, raise batch size and batch window, check downstream bottlenecks such as database connections, and alarm on ApproximateAgeOfOldestMessage. If the downstream system cannot keep up, the queue is doing its job as a buffer, so make sure messages will not expire before they are processed.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on Serverless & Messaging (Step Functions, EventBridge, SQS, SNS)