My Authors
Read all threads
✍️5 Things I Learned from The DynamoDB Book

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:👇
You can roughly group the book in 4 parts.

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:
A lesser book would stop here - mostly explaining factual statements in a more accessible way than the official docs, and then ending with some advice.

That's fine and a fair deal for many technical books.

But this book *keeps going*.
Chapters 10-16 (~90 pages): Strategies for one-to-many, many-to-many, filtering, sorting, migrations, and others

Example: alexdebrie.com/posts/dynamodb…

Chapters 17-22 (~150 pages): 5 increasingly complex Data Modeling Examples - modeling @GitHub with DynamoDB!?? 🤯
In other words - The MAJORITY of the book is a strategy manual and applications for real world examples.

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.
5 Things I Learned pt 1

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…
5 Things I Learned pt 2

Q: Why Global Secondary Indexes?

A: Flexibility > Strong Consistency.

swyx.io/writing/dynamo…
5 Things I Learned pt 3:

KSUIDs for Unique, Sortable IDs. They seem like a great idea useful beyond DynamoDB!

swyx.io/writing/dynamo…
5 Things I Learned pt 4:

Sparse Indexes for Filtering. A favorite trick of Alex's

swyx.io/writing/dynamo…
5 Things I Learned pt 5:

Normalization is OK! It's the only way to do many-to-many, social network style relationships.

swyx.io/writing/dynamo…
Final, personal note - I think this is the first book I've extensively previewed that successfully made it to the finish line - which got me this ack alongside these awesome people!

I don't belong among the pantheon of AWS Heroes yet but this small honor is deeply flattering
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with swyx

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!