AlgoViz

Amazon SQS

easy 25 min

Amazon SQS is a managed queue: producers send messages over HTTPS, consumers poll for them, and a message is hidden, not removed, while somebody works on it.

Where it shows up

The same pattern appears across everyday software.

  • Amazon fulfillment

    AWS reports that Amazon's traffic to SQS peaked at 47.7 million messages per second on Prime Day 2021.

  • Rapid7

    A security company quoted by AWS: SQS helped them scale to tens of billions of messages per day.

  • MindMup

    The mind-mapping application uses FIFO queues so that different documents are handled in parallel and each document in order. A good example of a message group.

  • Jimdo

    The website builder built a notification center on SQS that keeps customers informed about orders and support messages.

  • Lambdakiq

    An open-source Ruby gem that runs Rails background jobs (ActiveJob) on SQS and Lambda.

  • Image recognition jobs

    An engineer quoted by AWS used a small queue from 2010 on to feed a facial recognition process with images that users uploaded.

  • Spot instances

    Another engineer stores the state of a machine in SQS when it is about to be stopped, and new machines read it at start.