I am new to Amazon services. I already used FIREBASE and PUBNUB for browser notification in other applications. I would like to build browser notification like FIREBASE or PUBNUB using AWS SNS.
For web application front end I am using ReactJs and back-end Nodejs lambda functions.
Is it possible to use SNS for Browser or Web application Notification? Please advice.
Thanks
Amazon SNS follows the “publish-subscribe” (pub-sub) messaging paradigm, with notifications being delivered to clients using a “push” mechanism that eliminates the need to periodically check or “poll” for new information and updates.
Similar to Amazon Kinesis, Amazon SNS is designed for near real-time event processing. It decouples the input from the individual processing nodes. But, unlike Kinesis, SNS is designed to trigger multiple actions based on one event.
To delete an Amazon SNS subscription and topic using the AWS Management Console. Sign in to the Amazon SNS console . In the left navigation pane, choose Subscriptions. On the Subscriptions page, select a subscription with a Status of Confirmed, and then choose Delete.
You can use Amazon SNS to send notification messages to one or more HTTP or HTTPS endpoints. When you subscribe an endpoint to a topic, you can publish a notification to the topic and Amazon SNS sends an HTTP POST request delivering the contents of the notification to the subscribed endpoint.
You can use AWS IOT Websockets or AWS AppSync for This. Following articles will give you an overview of using these technologies.
Out of AWS AppSync and AWS IOT, I would recommend AppSync due to its support for JavaScript Frameworks.
Note: However, with AWS SNS, this is not possible in browsers (But possible for mobile applications with Push Notifications).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With