Lambda Does Not Scale for Amazon MQ: RabbitMQ event source


AWS Lambda function triggered by Amazon MQ: RabbitMQ event source. It works fine and consumes messages from the queue, but It does not scale with respect to the queue load.

  • Lambda function uses Unreserved account concurrency and it is 1000 but concurrency is usually around 2 or 1.
  • Batch_Size and Batch_window parameters do not affect the consumption speed much. Is there any configuration need to be considered to make the lambda function adapt its queue consumption speed to queue load?
asked 5 months ago206 views
1 Answer
Accepted Answer

Lambda doesn't autoscale with Amazon MQ as an event source. It has a fixed concurrency. For ActiveMQ it is 5, for Rabbit MQ it is 3. Note that these values may change without any notice.

profile picture
answered 5 months ago
  • thank you for the response.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions