Stream event invokes

The following are the best practices for stream event invocations:

  • For the stream processing function, you can test your code with different sizes of batches and records so that you get to know how quickly your function will complete a specific task. If there are not enough records, then the stream processing function will process a lesser number of records instead of waiting.
  • By adding extra shards, you can increase your Kinesis stream processing throughputs. In Kinesis, if you have 100 active shards, then you have to invoke at least 100 Lambda functions to increase the processing throughput.
  • To know whether your Kinesis stream is processed or not, you can use Amazon CloudWatch on IteratorAge. You can configure Amazon ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.