Alright folks, I had the chance to review @alexbdebrie's incredible new book on @dynamodb
swyx.io/writing/dynamo…
Time for one of my Epic Book Reviews™!
Thread form below:👇
Chapters 1-6 (~120 pages) - Explaining DynamoDB Concepts, APIs, and Expressions
it's dynamodbguide.com expanded!
Chapters 7-9 (~50 pages): Advice for DynamoDB Data Modeling/Implementation
Preview:
That's fine and a fair deal for many technical books.
But this book *keeps going*.
Example: alexdebrie.com/posts/dynamodb…
Chapters 17-22 (~150 pages): 5 increasingly complex Data Modeling Examples - modeling @GitHub with DynamoDB!?? 🤯
This turns the book from a read-once-and-discard deal into a reusable reference tome you will consult for the entirety of your DynamoDB usage.
Why Generic PK and SK names - because Single Table Design, yes, but also because DDB is a low level, high performance tool:
swyx.io/writing/dynamo…
Q: Why Global Secondary Indexes?
A: Flexibility > Strong Consistency.
swyx.io/writing/dynamo…
KSUIDs for Unique, Sortable IDs. They seem like a great idea useful beyond DynamoDB!
swyx.io/writing/dynamo…
Sparse Indexes for Filtering. A favorite trick of Alex's
swyx.io/writing/dynamo…
Normalization is OK! It's the only way to do many-to-many, social network style relationships.
swyx.io/writing/dynamo…