Created
January 22, 2020 10:23
-
-
Save ross-humphrey/6b0df170d1afe04873e693cd8d59882f to your computer and use it in GitHub Desktop.
π§ SQS FAQs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQS vs home grown message queue: | |
> Hardware maintenance | |
> Sys admin costs | |
> Complexity | |
> Requirement for redundant storage | |
> SQS has no admin overhead and little configuration | |
> Works on massive scale, processing billions of messages a day | |
SQS vs SNS | |
> SNS allows applications to send time-critical messages to subscribers via push | |
> SQS is a message queue used by distributed applications to exchange messages through a polling method. Decoupling send | |
and recieve components. | |
Message Ordering: | |
> Done via FIFO queues to preserve order | |
> Standard queues provide loose-FIFO to attempt to preserve orders. | |
SQS guaranteed delivery: | |
> Provide at least once delivery | |
> FIFO - provide exactly-once processing * no duplicates in the queue * | |
SQS vs Kinesis: | |
> SQS offers reliable, highly scalabed hosted queue. | |
> Kinesis streams allow real time processing of streaming big data and ability to read and replay records to multiple Kinesis | |
stream applications. | |
Pay for what you use | |
1 million requests per month with no charge | |
Messages are identified by a global unique ID | |
If message cant be processed a dead letter queue is used. Visibility timeouts can also be set to prevent other components recieving and processing a message after a time | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment