17.6k views
3 votes
Your application needs to process large numbers of job requests and you need to ensure that they are processed in order, and that each request is processed only once. How would you deploy SQS to achieve this end?

a.Use the SetOrder attribute ensure sequential job processing.
b.Convert your standard queue to a FIFO queue by renaming your standard queue with the .fifo suffix.
c. Use an SQS FIFO queue to process the jobs.
d.Configure FIFO delivery in a standard SQS queue.

1 Answer

0 votes

Answer:

Use an SQS FIFO queue to process the jobs.

Step-by-step explanation:

SQS stands for Simple Queue Service. It is a programmatic web service that is used to process and store information between computers. SQS was designed to build applications to prevent requests from staying too long on a queue. They process large number of requests at least once and in a sequential order. SQS removes messages permanently from the queue that have been there for a maximum period of time. The default retention period is usually 240 hours but you can reset it to a time to suit your desire. Using FIFO( First-in, First-out) queue, messages are processed exactly once and it supports 300 messages per second. Therefore, using an SQS FIFO queue to process messages will ensure that messages are processed in order and only once.

User Benoni
by
3.3k points