ExitAmazon SQS: Standard and FIFO queues1 / 7
Explanationassociate7 steps · 3 exercises

Choose what the queue must guarantee

Choose a queue type by weighing throughput against ordering within a message group and send-side deduplication, without assuming FIFO prevents consumer retries.

Both SQS queue types let a producer hand off work without waiting for a worker to finish. Choose a Standard queue when throughput is the priority and each message can be handled independently of arrival order. Standard provides at-least-once delivery and best-effort ordering: a message can arrive more than once, and messages can arrive out of send order.

Choose a FIFO queue when the order of related messages matters. FIFO preserves send order within a message group, not across groups. For example, using the order ID as the message group ID keeps updates for each order in sequence while allowing different orders to be processed in parallel.

FIFO offers a high-throughput mode. It raises FIFO throughput, but it does not remove the ordering constraint: different groups can make progress independently, while putting all messages in one group makes them share one ordered lane.

Next up: Sort the statements on what you just read.