Using AWS Lambda for streaming analytics

By Amazon Web Services - 2020-12-15

Description

With tumbling windows, you can calculate aggregate values in near-real time for Kinesis data streams and DynamoDB streams. Unlike existing stream-based invocations, state can be passed forward by Lamb ...

Summary

  • In this blog post, I explain how this feature works with Kinesis Data Streams and DynamoDB Streams, together with example use-cases.
  • For example, in Amazon Kinesis Data Firehose, a Lambda function transforms the current batch of records with no information or state from previous batches.
  • The third tumbling window invokes the Lambda function with a state value of 18 and the next window of values.
  • This function code processes the incoming event to aggregate a sales attribute, and return this aggregated result in a state object.

 

Topics

  1. Backend (0.35)
  2. Database (0.15)
  3. Security (0.08)

Similar Articles

React Hooks Cheatsheet: The 7 Hooks You Need To Know

By freeCodeCamp.org - 2021-02-08

This new tutorial will show you everything you need to know about React Hooks from scratch. I've put this cheatsheet together to help you become knowledgeable and effective with React Hooks as quickly ...