Batch Size - Serverless Architectures with AWS Lambda

Batch Size

Some Lambda event sources allow you to define the batch size for the number of records that are delivered on each function invocation (for example, Kinesis and DynamoDB). You should test to find the optimal number of records for each batch size so that the polling frequency of each event source is tuned to how quickly your function can complete its task.