DynamoDB is one of the most common databases for building serverless applications. But we don't know how to model our data for fitting in a DynamoDB table. One of the best practices for modeling data is the single table design that is a new concept that we need to learn.
In this video Alex De Brie - AWS Data Hero, will show us 7 patterns and good practices that will help us with the modeling and building an application in real life.
00:00 - Introduction
04:09 - Why DynamoDB?
07:37 - Some foundational concepts for getting started
15:16 - Starting with the demo
19:05 - How to model your data?
26:11 - How to keep up with data changing in the single table design?
30:48 - Walking through the code
37:42 - Abstract class for base entities
46:02 - getClient function to improve the performance
52:32 - Using ULIDs as unique, sortable identifiers
57:00 - Tracking reference counts with transactions
01:01:05 - Query operations in DynamoDB
01:04:00 - Many to many relationships
Get the code: https://github.com/alexdebrie/dynamodb-instagram
Find Alex in the internet
- Twitter: https://twitter.com/alexbdebrie
- The DynamoDB book: https://www.dynamodbbook.com/
📼 Related videos
▪️ Interview with Rick Houlihan about DynamoDB and single table design:
https://youtu.be/ZDIh1L5y2Q4 (part 1) and
https://youtu.be/Hb3bqOQup10 (part 2)
▪️ Playlist on basic data modeling for DynamoDB step by step: https://www.youtube.com/playlist?list=PLGyRwGktEFqefq_8Kt-k-hGjN9LzBpCyp
#foobar #serverless
☁️ Topics covered include:
- DynamoDB
-nosql databases
- data modeling
- best practices for database design
- global index
- partition key and sort key
⭐ SUBSCRIBE TO THIS CHANNEL: http://bit.ly/foobar-youtube
⭐SHARE THIS VIDEO:
https://youtu.be/Q6-qWdsa8a4
☆☆ FOLLOW ME ONLINE ☆☆
🐦 Twitter: https://twitter.com/mavi888uy
📺 AWS Spanish Youtube Channel: https://bit.ly/aws-esp-yt
📷 Instagram: foobar_codes
📚 All my Serverless Courses: https://marcia.dev/courses/
✍️ My blog - https://blog.marcia.dev
☆☆ ABOUT FOOBAR ☆☆
In this channel, you can find mostly coding tutorials related to cloud and serverless.
In addition, I like also talking about architecture, software design, motivation, and leadership.
There is a new video every Tuesday, so stay tuned :)
🎥 Recording equipment: https://blog.marcia.dev/my-recording-equipment
📚 My favorite books: https://blog.marcia.dev/my-books-recommendations