dimanche 25 mars 2018

Broadcast or Multicast Pattern (SQS and SNS)

Following is a message design pattern :

enter image description here

Step 1- Application sends message to SNS Topic

Step 2- SNS publishes message to subscribed SQS queue .

As per following definitions :

Broadcast : Message is published to all end points.

Multicast : Message is published to selected endpoints.

Above diagram can be interpreted as Option 1 - Message is published to selected SQS queues which are subscribed to SNS topic , multicast pattern

OR

Option 2 - Message is published to all subscribed end points,broadcast pattern

how should this design pattern be interpreted ?

Aucun commentaire:

Enregistrer un commentaire