Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The use-cases for <a href="http://kafka.apache.org/" rel="noreferrer">Kafka</a> and <a href="http://aws.amazon.com/sqs/" rel="noreferrer">Amazon SQS</a>/<a href="http://aws.amazon.com/sns/" rel="noreferrer">Amazon SNS</a> are quite different.</p> <p>Kafka, as you wrote, is a distributed publish-subscribe system. It is designed for very high throughput, processing thousands of messages per second. Of course you need to setup and cluster it for yourself. It supports multiple readers, which may "catch up" with the stream of messages at any point (well, as long as the messages are still on disk). You can use it both as a queue (using consumer groups) and as a topic.</p> <p>An important characteristic is that you cannot selectively acknowledge messages as "processed"; the only option is acknowledging all messages up to a certain offset.</p> <p>SQS/SNS on the other hand:</p> <ul> <li>no setup/no maintenance</li> <li>either a queue (SQS) or a topic (SNS)</li> <li>various limitations (on size, how long a message lives, etc)</li> <li>limited throughput: you can do batch and concurrent requests, but still achieving high throughputs would be expensive</li> <li>I'm not sure if the messages are replicated; however at-least-once guarantee delivery in SQS would suggest so </li> <li>SNS has notifications for email, SMS, SQS, HTTP built-in. With Kafka, you would probably have to code it yourself</li> <li>no "message stream" concept</li> </ul> <p>So overall I would say SQS/SNS are well suited for simpler tasks and workloads with a lower volume of messages.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload