Stream enables you to listen to fee changes in near real-time using SQS, webhooks, or websockets. In this tutorial, we will discuss how to use AWS and to respond to feed updates.
While websockets are the preferred method to listen to changes, SQS notifications have a special spot in the feed infrastructure. Stream really shines in its ability to provide real-time because you can interact with the results that you receive. For example, you can listen to for changes to the feed and respond with, for example, an email to a user enticing them to pull the trigger on a purchase, send an SMS message based on an action taken within your application, among hundreds of other scenarios.
from DZone.com Feed https://ift.tt/2NC9bo1
No comments:
Post a Comment