- Newest
- Most votes
- Most comments
Whether you can use SQS or not will depend on whether your requirement is to process the files synchronously or you are OK processing them asynchronously.
If asynchronous processing is fine, then yes SQS can help you buffer requests so your back-end can process the requests.
You did mention Lambda and .NET. Hopefully your framework is .NET Core because Lambda cannot run .NET Framework as Lambda microVMs are essentially Linux based.
If the above conditions are met and you want to use Lambda with SQS, then please go through this document and understand how Lambda works with SQS thoroughly, because with SQS, Lambda polls batches of messages and there are some parameters such as batch size and batch window and queue visibility timeout that you have to configure correctly to get the best performance - https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
Also if you are handling large files, use a combination of SQS and S3, as mentioned here - https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-s3-messages.html
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago