1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Offloading SQS messages refers to a configuration of SQS, not a feature.
https://aws.amazon.com/sqs/features/
For example, add messages that take a long time to process to an SQS queue.
Once a message is added to the SQS queue, the application returns a response to the client with an HTTP status code of 202.
The configuration of an asynchronous system that uses EC2, ECS, etc. to poll for messages to then process the messages in the SQS queue is called message offloading.
When drawn as a diagram, it looks like the following.
Relevant content
- asked 2 years ago
- asked a year ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Thank you very much for the response. So it is the lambda function enqueues the messages that take long time to process out of the way of the interactive messages? For example if we have messages 1,2,3 (fast) 4,5 (slow) then 6,7,8 (fast). Then the function/code in lambda changes the queue to 1,2,3,6,7,8 (fast) then 4,5 (slow) orders?
The order in which messages are sent to SQS is not changed by Lambda. For example, I think it is possible to create a Lambda code that can determine high-speed processing and slow processing, and create a configuration where SQS queues for high-speed processing and SQS queues for low-speed processing are separated.