Thursday, April 8, 2021

DynamoDB Streams

A DynamoDB stream is an ordered flow of information about changes to items in a DynamoDB table.
 
When you enable a stream on a table, DynamoDB captures information about every modification to data items in the table.
 
Whenever an application creates, updates, or deletes items in the table, DynamoDB Streams writes a stream record with the primary key attributes of the items that were modified. A stream record contains information about a data modification to a single item in a DynamoDB table. 

AWS Step function

  • Serverless function orchestrator
  • Series of checkpoints & Event driven workflow that maintatin the application state
  • Step Functions manages sequencing, error handling, retry logic, and state, removing a significant operational burden from your team.

 

As your applications execute, Step Functions maintains application state,

 

tracking exactly which workflow step your application is in, and stores an event log of data that is passed between application components.

That means that if networks fail or components hang, your application can pick up right where it left off.

 

Workflow as state machine

 

Create using Amazon state language

 

you can run a serverless workflow on a time-based schedule.

 

Amazon CloudWatch Events provides a near real-time stream of system events that describe the changes and notifications for your AWS resources.

From this stream, you can create rules to route specific events to AWS Step Functions and invoke a state machine to perform further processing.

AWS Step Functions allows you to coordinate multiple services into serverless workflows so you can build and update automated processes quickly.