DEV Community

Roman
Roman

Posted on

Amazon Simple Queue Service Cheat Sheet

Alternatives

  • Apache Kafka
  • Google Cloud Pub/Sub
  • RabbitMQ
  • IBM MQ
  • TIBCO Enterprise Message Service
  • AWS IoT Core
  • Amazon CloudWatch
  • Azure Service Bus

Digest

  • Long polling: Long polling will reduce the overhead of the CPU and not require excessive dolls.
  • Visibility timeout: a period of time during which Amazon SOS prevents other consumers from receiving and processing the message. The default visibility timeout for a message is 30 seconds. The minimum is O seconds. The maximum is 12 hours
  • Delay queue: Delay queues let you postpone the delivery of new messages to a queue for a number of seconds. If you create a delay queue, any messages that you send to the queue remain invisible to consumers for the duration of the delay period Know FIFO vs Standard Queue
  • SQS is a fully managed message queuing service that enables you to decouple and scale micro-services, distributed systems, and Serverless applications
  • SNS: To receive subset of messages, subscriber can apply filter policy to topic subscription.
  • If use case has subscribed to email notification, go with SNS as opposed to SQS.
  • By default only the queue owner is allowed to use the queue. Configure SQS Queue Access Policy to provide access to other AWS accounts

Question

Which endpoint is considered to be best practice when analyzing data within a Configuration Stream of AWS Config?

  1. SNS
  2. E-Mail
  3. SQS
  4. Kinesis

Top comments (0)