July 2017
Beginner to intermediate
340 pages
7h 43m
English
SQS (https://aws.amazon.com/sqs/) is a subset of what you get with RabbitMQ, but it is often good enough for most use cases.
You can create two types of queue. A First-In-First-Out (FIFO) stores messages in the order they are received, and ensures that a message that's retrieved from the queue is read just once. They are useful when you want to store a stream of messages that need to be picked up by workers, like what you would do with Celery and Redis. They have a limit of 20,000 in-flight messages.
The second type (standard) is similar, except that the ordering is not entirely guaranteed. That makes it much faster than the FIFOs, and has a higher limit (120,000).
The messages stored in SQS are replicated in several ...