24. Backup and restore on mobile app
for 300 million users
Migrated from Cassandra to
DynamoDB
• Almost 1 PB in DynamoDB, 130 million
daily API requests
• Consistent performance and 70% cost
savings (TCO)“DynamoDB provided consistent high
performance at a drastically lower cost
than Cassandra.”
—Seongkyu Kim
Samsung
25. One of the 10 largest banks in the
U.S. serving 45 million customers
Migrated from mainframe to
DynamoDB:
• Serving millions of transactions with the
new serverless architecture
• Reduced latency: end-to-end requests
<55ms
• Unbound scale for app developers“New solution is so much faster...with an
average response time of 55ms.”
—Srini Uppalapati
CapitalOne
26. “Our internal customers saw processing delays
decrease from 1 second to 100 milliseconds. It
shows how DynamoDB can serve as the
foundation of a highly efficient, mission-critical
system.”
—Mike Thomas
Amazon
Every time you buy something on
Amazon.com, the internal Herd
system supports 100s of millions
of active workflows that need to
start within a couple of seconds
Migrated from Oracle
to DynamoDB:
• Workflow processing delays dropped
from 1s to 100ms
• Scaling and maintenance effort dropped
10x
• Retired more than 300 Oracle hosts
27. Amazon Alexa Response Service
Service Description
• Store user requests and Alexa
responses across all devices
• Retrieve user requests by time
range
• Retrieve Alexa responses by time
range for a given device
Operational Requirements
• Support millions of users
• Consistent low latency at any scale
• Minimal cost footprint
• Globally distributed processing
• Automated data life cycle
Get orders for
user X from 4/7-
14/2018.
28. Access Patterns Query Conditions
1 Details by AccountID (or DeviceID) for a timerange Use GSI-1, PK=ACCOUNT1, SK between TS1 and TS2
2 Get all queries for an Account Use GSI-1, PK=ACCOUNT
3 Get all responses for a device Use GSI-1, PK = DEVICE
4 Get Account metadata Use Table, PK=ACCOUNT
5 Get Device metadata Use Table, PK=DEVICE
T
A
B
L
E
Primary Key
Attributes
ObjectID TargetID (GSI1-PK)
ACCOUNT1 ACCOUNT1
Other Account-level attributes
DEVICE1 DEVICE1
Other Device-level attributes
DATAMART1
ACCOUNT1
TimeInMillis (GSI1-SK) S3Key Namespace
12345678
ACCOUNT1
TimeInMillis (GSI1-SK) S3Key Namespace
23456789
DEVICE1
TimeInMillis (GSI1-SK) S3Key Namespace ContentType
12345678
DEVICE1
TimeInMillis (GSI1-SK) S3Key Namespace ContentType
23456789
G
S
I
#
1
GSI 1 Primary Key
Projected Attributes
TargetID TimeInMillis
ACCOUNT1
12345678
ObjectID TargetID S3Key Namespace
ACCOUNT1 ACCOUNT1
23456789
ObjectID TargetID S3Key Namespace
DATAMART1 ACCOUNT1
DEVICE1
12345678
ObjectID TargetID S3Key Namespace ContentType
DEVICE1 DEVICE1
23456789
ObjectID TargetID S3Key Namespace ContentType
DATAMART1 DEVICE1
29. DynamoDB – Fully managed NoSQL Service from AWS
Provisioning
Capacity planning
Monitoring
OS patching
Hardware upgrades
Database upgrades
Security patches
Scaling
Monitoring
Performance tuning
Replication across data centers
Re-replicate on server failureProvision new regions
Infrastructure Software
With Zero Downtime