The design of a stream processor must account for the volume of data it will receive. The data should be processed in real time and the processor should not fall behind. The following recipe demonstrates how to use DynamoDB batch writes to help ensure sufficient throughput.
Batching requests
Getting ready
Before starting this recipe, you will need an AWS Kinesis Stream, such as the one created in the Creating an event stream recipe.
How to do it...
- Create the project from the following template:
$ sls create --template-url https://github.com/danteinc/js-cloud-native...