Getting started with FIFO queues in Amazon SQS - Amazon Simple Queue Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Getting started with FIFO queues in Amazon SQS

FIFO (First-In-First-Out) queues have all the capabilities of the standard queues, but are designed to enhance messaging between applications when the order of operations and events is critical, or where duplicates can't be tolerated.

Examples of situations where you might use FIFO queues include the following:

  1. E-commerce order management system where order is critical

  2. Integrating with a third-party systems where events need to be processed in order

  3. Processing user-entered inputs in the order entered

  4. Communications and networking – Sending and receiving data and information in the same order

  5. Computer systems – Making sure that user-entered commands are run in the right order

  6. Educational institutes – Preventing a student from enrolling in a course before registering for an account

  7. Online ticketing system – Where tickets are distributed on a first come first serve basis


FIFO queues also provide exactly-once processing, but have a limited number of transactions per second (TPS). You can use Amazon SQS high throughput mode with your FIFO queue to increase your transaction limit. For details on using high throughput mode, see High throughput for FIFO queues in Amazon SQS. For information on throughput quotas, see Amazon SQS message quotas.

Amazon SQS FIFO queues are available in all Regions where Amazon SQS is available.

For more on using FIFO queues with complex ordering, see Solving Complex Ordering Challenges with Amazon SQS FIFO Queues.

For information about how to create and configure queues using the Amazon SQS console, see Create a queue using the Amazon SQS console. For Java examples, see Amazon SQS Java SDK examples.

For best practices of working with FIFO queues, see Additional recommendations for Amazon SQS FIFO queues and Recommendations for Amazon SQS standard and FIFO queues.