1. Arpio Documentation
  2. Reference Guides
  3. Arpio Configuration Tag Reference

arpio-config:stream:BatchSize

Configure the maximum number of items sent in a batch to the Arpio DynamoDB replication function

arpio-config:stream:BatchSize = <number>

<number>

The tag's value must be a number that is valid for the BatchSize property of the event source mapping that connects the tagged DynamoDB table to the Arpio replicator Lambda function.

Supported Resources

  • DynamoDB Table

Description

You can use this tag to configure a custom batch size for the event source mapping that's used to handle changed item events for the table the configuration tag is applied to.  Each time Arpio starts to create a recovery point, it will update the event source mapping's batch size to match the value in this configuration tag.  See Lambda event source mapping batching behavior for information about batching and guidance on setting an appropriate value.

When this tag has a value greater than 10, Arpio sets the event source mapping's MaximumBatchingWindowInSeconds to 1 second unless the arpio-config:stream:MaximumBatchingWindowInSeconds (FIX THIS LINK WHEN PUBLISHED) configuration tag specifies a different value.

Arpio uses a default batch size of 10.  Most tables do not require a custom batch size to be configured, but tables that support very high rates of change may benefit from a larger batch size.  Contact Arpio support for assistance in tuning replication settings for high-throughput tables.

Examples

Tag

Value

arpio-config:stream:BatchSize
 100