An illustration of using the Serverless framework to create a simple Micro Service for AWS.
The service adds books in Dynamo DB gradually to simulate some/all of the following scenarios:
- To not exceed the Dynamo DB rate limits
- Processing of the books is time consuming
- User should be notified when all processing is done
Batch Sending data to a dynamodb table using sqs queue
- Send a number of books to the sqs queue
- queueProcessor pulls the data from the queue
- the data are inserted gradually to avoid exceeding dynamodb limits
- user gets notified when proccessing ends (all data have been inserted in table)