I am using Amazon SQS in my app to consume messages. My app is used to process images. I am searching for an efficient way to continuously monitor for new messages. My first approach was to read the messages when an image finished processing.
The problem is that if one message arrived after the max 20 seconds long polling, nothing will trigger the read message function.
I thought about creating a function that runs at an interval, however I am not sure which approach to take and whether there are more efficient ways (fast retrieval, less calls for empty results) to approach this.
I am using AWS SDK for .NET / C#
ReceiveMessagewill return, or theTaskreturned byReceiveMessageAsyncwill complete, when the operation times out. - Dark Falcon