Skip to main content
Archived

Maximum number of messages to poll for SQS publication

Related products:FME Form
  • January 15, 2019
  • 0 replies
  • 22 views

denniswilhelm
Contributor
Forum|alt.badge.img+21

Hello,

I think it would be a good idea to have another parameter for the SQS publication: Max Number of Messages.

My scenario is as follows:

Multiple FME Servers are polling new messages from SQS. Each message should trigger a FME Workspace, which will eventually remove the message from the queue if successfull. Basically, a load balancer for FME Server.

Current Status:

If multiple messages enter the queue very fast, the first FME Server to poll for new messages will basically grab all messages. Therefore, you have to work a lot with SQS visibility timeouts and FME queued job expiry times to achieve an equal job distribution.


The parameter MaxNumberOfMessages should be available in the SQS API: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html

What do you think?


Kind regards,

Dennis



This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.