You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: aws-node-text-analysis-via-sns-post-processing/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Data processing
2
2
3
-
This example demonstrates how to setup a simple data processing pipeline. The service exposes one HTTP endpoint that allows you to add a text note. This HTTP endpoint returns instantly to provide a good user experience while the actual analysis is deferred. Only message above a certain sentiment level are actually saved.
3
+
This example demonstrates how to setup a simple data processing pipeline. The service exposes one HTTP endpoint that allows you to add a text note. This HTTP endpoint returns instantly to provide a good user experience while the actual analysis is deferred. Only messages above a certain sentiment level are actually saved.
4
4
5
-
Instead of invoking another Lambda function directly it's best practise to store the note as a message in a SNS queue. The queue has certain benefits compared to invoking the `analyzeNote` function directly. The queue supports retries in case the analyzeNote function fails as well as back-off to avoid too many concurrent invocations.
5
+
Instead of invoking another Lambda function directly it's considered best practice to store the note as a message in a SNS queue. The queue has certain benefits compared to invoking the `analyzeNote` function directly. The queue supports retries in case the analyzeNote function fails as well as back-off to avoid too many concurrent invocations.
6
6
7
7
## Setup
8
8
@@ -18,7 +18,7 @@ You can retrieve the your account ID by running this command (you need the AWS S
18
18
aws sts get-caller-identity --output text --query Account
0 commit comments