I use Amazon SQS in my application to receive messages. My application is used for image processing. I’m looking for an effective way to keep track of new posts. My first approach was to read the messages when the image finished processing.
The problem is that if one message arrives after polling for a maximum of 20 seconds, nothing will call the message reading function.
I was thinking of creating a function that runs at intervals, however I'm not sure which approach to take and if there are more efficient ways (quick search, fewer calls for empty results) to get closer to this.
I am using AWS SDK for .NET / C #
source
share