AWS DynamoDB Streams - A quick introduction

chris.e.richardson 4,880 views 11 slides Nov 30, 2014
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

A brief introduction to the recently announced AWS DynamoDB streams


Slide Content

@crichardson
AWS DynamoDB Streams
A quick introduction
Chris Richardson
Author of POJOs in Action
Founder of the original CloudFoundry.com
@crichardson
[email protected]
http://plainoldobjects.com
http://microservices.io

@crichardson
What is a DynamoDB
Stream?
An ordered sequence of changes to items in a DynamoDB table:
Puts, updates, and deletes performed in last 24 hours
Sharded for scalability
Kinda like: message queue or Kafka topic
Similar to Kinesis streams
Subscribe to a stream to track the changes made to a table
Real time analytics
Cross region replication
Maintain materialized view tables
...

@crichardson
Creating a table with a streamKEYS,
OLD_IMAGE
and/or
NEW_IMAGE

@crichardson
Getting the stream id

@crichardson
Getting the shards in a stream

@crichardson
Reading change records

@crichardson
Change records

@crichardson

@crichardson
Kinesis adapterhttp://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-dg/Streams.KCLAdapter.html Scalable,
fault tolerant
programming
model for stream
processing https://github.com/awslabs/amazon-kinesis-client

@crichardson
Lambda integrationhttp://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-dg/Streams.Lambda.Walkthrough.Basic.html#Streams.Lambda.Walkthrough.Basic.Step3

@crichardson
@crichardson [email protected]
http://plainoldobjects.com http://microservices.io