SQS

  • Decouple your architecture

  • Standard queues

    • at-least-once message delivery

    • duplicate messages can be delivered

    • best effort ordering

    • Better throughput then FIFO

  • FIFO queues

    • exactly-once processing,

    • No Duplicate messages

    • FIFO Order

    • Low throughput

  • SQS Temporary Queue Client

    • Request – Response method, short-lived, lightweight messaging destinations

    • No intention to use SQS for long term,

    • leverages virtual queues instead of creating / deleting SQS queues

  • Use SQS FIFO for Asynchronously updates to database, avoid dropping writes to the database

  • Deduplication of messages can be enabled by

    • Enable content-based deduplication

    • Explicitly provide the message deduplication ID

  • Priority: Use separate queues (both can be standard Q) to provide prioritization of work. and EC2 to perform prioritization