In my code I read the SQS message results using recieveMessageResponse.RecieveMessageResult.Message[i] inside a loop. I wanted to know if there is an option to limit the amount of queue messages available to read from the client?
I am concerned about a situation when there are thousands of queue messages and each time my image processing server finishes processing an image, it needs to get the queue results again. This means that the queue data of thousands of need-to-be-processed images will need to be retrieved by my EC2 server.
I am using the C# SDK for .NET.