Message Queue

SQS

  • Default retention of message is 4 days, maximum 14 days

  • Maximum message size is 256 Kb

  • Message visibility timeout that become invisible to other customers default is 30 seconds, maximum is 900 seconds

  • FIFO should be used if ordering of the message is important

Dead letter queue

  • To capture all messages that can't be processed, the message failed will be falled into dead-letter-queue

SNS

  • The message can be received by multiple services

  • 100,000 topics limit

  • Can be send to the specific service by using message filtering based on the message content

Last updated

Was this helpful?