SNS - Simple Notification Service Flashcards

1
Q

What is SNS?

A

Web service for sending notifications in the cloud

Allows you to publish messages from an application and deliver them to subscribers or applications

easy to use, pay as you go, no management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is pub-sub?

A

SNS follows publish-subscribe method, “pushing” messages to clients

No need for polling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Compare SNS to SQS

A

SNS pushes messages

SQS clients pulls messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can SNS deliver messages to?

A

mobile, SMS, email, SQS, any HTTP endpoint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does SNS prevent messages from being lost?

A

stores all messages redundantly across multiple AZ’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an SNS Topic?

A

A way of grouping multiple recipient.

an “access point” for allowing recipients to subscribe to identical copies of the same information

One topic can deliver to multiple endpoint types like iOS, Android and SMS

Publish once to a topic, and SNS correctly formats message for each type of recipient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

SNS Benefits

A

push based

easy integrations

flexible delivery over multiple protocols

cheap, pay as you go, no up front costs

AWS Console simplicity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SNS pricing

A

$2 per 100,000 notifications over email

75 cents per 100 SMS notifications

6 cents per 100,000 notifications over HTTP

50 cents per million SNS requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SNS Data type

A

JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly