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.