Databases · Tool
DynamoDB
Single-digit millisecond scale on AWS.
01Overview
DynamoDB is AWS's fully managed key-value and document database built for massive scale. I design for it around access patterns, which is a different mindset from relational modeling.
02Key concepts
What anyone working with it needs to understand
- 01
Partition & sort keys
How data is distributed and queried.
- 02
Access-pattern design
Modeling from the queries you need, not the entities.
- 03
Single-table design
Storing multiple entity types in one table.
- 04
GSIs & LSIs
Secondary indexes for alternative queries.
- 05
Capacity modes
On-demand vs provisioned throughput.
- 06
Streams
Change data capture with Lambda integrations.
03In practice
Part of my NoSQL toolkit on AWS, the cloud I used at Claro to improve application scalability.