SQS FIFO

  • Name needs to be ended with .fifo
  • First in first out, guarantee orders
  • Exactly one send capacity
  • Limited throughput
    • 300 msg/s without batching
    • 3000 msg/s with batching
      Pasted image 20221006163747.png

Example

If we have the message comes in order of [A, B, C, D]. Consumer consume A but not within the SQS Message Visibility Timeout and return back to the queue. The order will still remain the same as [A, B, C, D] because message B can only be consumed after message A