7 Common DynamoDB Patterns for Modeling and Building an App with Alex De Brie

  Рет қаралды 54,103

FooBar Serverless

FooBar Serverless

Күн бұрын

Пікірлер: 76
@UnknownIdentityDE
@UnknownIdentityDE 2 жыл бұрын
The best DynamoDB tutorial I have seen to date. I love the clean and simple code.
@simranbayas810
@simranbayas810 3 жыл бұрын
OMG, didn't see this coming. "Marcia and Alex" Dream Team, period.
@foobar_codes
@foobar_codes 3 жыл бұрын
thankss :D
@ediancomachio2783
@ediancomachio2783 3 жыл бұрын
THIS IS AWESOME! I'm so glad I've subscribed to this channel
@WisoAp
@WisoAp 3 жыл бұрын
Thank you for this video :) Spanish community deserves this awesome stuff as well!!
@foobar_codes
@foobar_codes 3 жыл бұрын
Hahhaa now i need to find a Spanish version of alex 🤷🏽‍♀️
@apidas
@apidas 3 жыл бұрын
Thank you so much Marcia and Alex for making this video possible
@dbs1uk
@dbs1uk 3 жыл бұрын
This is an excellent non-trivial example. It's also the cleanest approach to working with DynamoDB that I've seen to date 👏👏👏
@foobar_codes
@foobar_codes 3 жыл бұрын
Thanks! Alex is amazing
@jpablonov
@jpablonov 3 жыл бұрын
Muchas gracias Marcia por esta excelente entrevista con Alex!!!!! Saludos desde argentina!!
@BrendanGrainger
@BrendanGrainger 3 жыл бұрын
Thank you so much for this Marcia and Alex. This was so helpful.
@jdd1955
@jdd1955 3 жыл бұрын
This was incredible, i've been using DynamoDB for awhile now and this helped reinforce something that I have been doing as well as answer a few questions on some best practices and provide ideas on how to design future projects. Thank you so much Marcia and Alex.
@foobar_codes
@foobar_codes 3 жыл бұрын
Great to hear!
@nicolasaguilar9209
@nicolasaguilar9209 Жыл бұрын
same here
@engineforce
@engineforce 3 жыл бұрын
Thanks so much for this video and having table of content in your descriptions is really useful.
@foobar_codes
@foobar_codes 3 жыл бұрын
Happy that it helps
@garywaddell6309
@garywaddell6309 3 жыл бұрын
Alex is world class, he has so much integrity, I’d support anything he produces 🙌🏻
@foobar_codes
@foobar_codes 3 жыл бұрын
he is great :)
@garywaddell6309
@garywaddell6309 3 жыл бұрын
@@foobar_codes And of course you are too Marcia :)
@abhinavkapoor321
@abhinavkapoor321 3 жыл бұрын
@@foobar_codes Sure Alex is great, but Marcia it is awesome how you ask questions from your guests to get more details that otherwise could be taken for granted by subject matter experts. Thanks a lot for the awesome content.
2 жыл бұрын
Excellent contribution, I heard about his DynamoDB book and this video fits perfectly as an introduction.
@tringuyenucminh167
@tringuyenucminh167 2 жыл бұрын
It's very helpful for me. Thank you so much Marcia and Alex ^^
@foobar_codes
@foobar_codes 2 жыл бұрын
Happy to help!
@AndiFotschl-dy2vb
@AndiFotschl-dy2vb Жыл бұрын
Thx Marcia! Having seen this video, makes the DynamoDB setup so much more human in the project I'm working on. 🎉
@foobar_codes
@foobar_codes Жыл бұрын
Great to hear
@bisadelara5933
@bisadelara5933 3 жыл бұрын
Thanks so much ! Appreciate the effort of bringing all this content !
@foobar_codes
@foobar_codes 3 жыл бұрын
Glad you enjoy it!
@MrJulito88
@MrJulito88 2 жыл бұрын
Great presentation of DynamoDB possibilities
@Johnathanaa7
@Johnathanaa7 3 жыл бұрын
Great video, loved the way you all walked through the steps of designing
@foobar_codes
@foobar_codes 3 жыл бұрын
Thank you! Cheers!
@uzair004
@uzair004 2 жыл бұрын
not only great dynamodb video, but for coding best practices as well. I have been working in a project from a while & we are using these ulid, re-usable componenets/methods, excel sheets for access patterns. found the source probably :D
@benjaminiduwe2958
@benjaminiduwe2958 Жыл бұрын
Great content, I learnt a lot from this video.
@foobar_codes
@foobar_codes Жыл бұрын
Awsome! Thanks for the message
@56faisal
@56faisal 3 жыл бұрын
Wow! this is really great stuff! Thank you both for this :D
@foobar_codes
@foobar_codes 3 жыл бұрын
Our pleasure!
@Deiefe
@Deiefe 3 жыл бұрын
This is great, thanks heaps both for these explanations!
@foobar_codes
@foobar_codes 3 жыл бұрын
Glad it was helpful!
@ivorpad
@ivorpad 3 жыл бұрын
This was really good. Learned tons about DDB. I didn't know about ULIDs either 👍
@foobar_codes
@foobar_codes 3 жыл бұрын
yes ULID lib is great!
@RicoMinovo
@RicoMinovo 3 жыл бұрын
Thanks! Nicely explained at a high and low level .
@jeffreypalma4498
@jeffreypalma4498 3 жыл бұрын
Thank you. Good class.
@cristianpallares3847
@cristianpallares3847 3 жыл бұрын
Love ulid! I was already using it with DynamoDB and the ordering property is awesome.
@foobar_codes
@foobar_codes 3 жыл бұрын
Yesss this library is really useful
@cristianyesid99
@cristianyesid99 2 жыл бұрын
Thank you very much for the video!
@rickfarina9835
@rickfarina9835 3 жыл бұрын
Excellent... I like the use of TypeScript and the abstraction to simplify access. Really well done and informative. Still have questions though on writing DDB Single Table app when working with legacy system where entities already exist. Would like to hear more about that. Again, Excellent presentation!! Thank you Marcia and Alex!
@alambertt
@alambertt 3 жыл бұрын
No puede ser... Hoy mismo estaba viendo este mismo tema 🤯🤯🤯🤯 Wow Gracias Marcia. Me gustaría un vídeo ahora en español. De todas formas este lo voy a ver. Gracias 😊😊😀
@foobar_codes
@foobar_codes 3 жыл бұрын
este video no creo que pueda estar en español tal cual, ya que alex solo esta en ingles. pero seguramente hare una serie de dynamo en español en el futuro. que bueno que te gusto este video
@alambertt
@alambertt 3 жыл бұрын
@@foobar_codes excelente 👍🏻🤗 Esperaremos la serie de DynamoDB con ansias. Es una excelente BD. Ya vi los Reinvent 🤯 Realmente es genial
@vardaanaashish6753
@vardaanaashish6753 Жыл бұрын
Fantastic content!
@foobar_codes
@foobar_codes Жыл бұрын
Thanks
@tkjnnmf5315
@tkjnnmf5315 3 жыл бұрын
Really useful channel Thx!
@foobar_codes
@foobar_codes 3 жыл бұрын
Happy to help!
@b1021
@b1021 Жыл бұрын
Given the model shown, how would you query the table to return all users?
@ryandsouza2962
@ryandsouza2962 3 жыл бұрын
Awesome video! DDB is ♥️
@foobar_codes
@foobar_codes 3 жыл бұрын
It really is!
@GilluanFormiga
@GilluanFormiga 2 жыл бұрын
Nice video.
@squidwurrd
@squidwurrd 3 жыл бұрын
Got the book!
@Trademm
@Trademm 2 жыл бұрын
What i needed
@yassermh5851
@yassermh5851 2 жыл бұрын
How would you get all the photos of the people a user follows? like in the home page of instagram, it shows all the photos of the users you have followed. Do you query all the followed of that users and then query each of them one by one to see if there is a new photo?
@SergioAdonis
@SergioAdonis 2 жыл бұрын
Este video es oro
@aminebioudi8414
@aminebioudi8414 2 жыл бұрын
what a great explanation ... i do have one question: why on the sheet file we have main table for list likes for photo and not for list comments for photo ?
@HaibertBuilds
@HaibertBuilds Жыл бұрын
I feel like I gotta watch this 4 times to get my brain to actual consume all of this and digest it. Im legit hating myself for trying to learn noSQL lol
@omar-salim
@omar-salim 2 жыл бұрын
thanks for the great tutorial, I have a question though, how to list down unfollowed users? in order to follow a user the application needs to provide a set of unfollowed users, right ? I don't think we should design an access pattern for this. The only solution in my mind is perform a fake join at the lambda code level which is discouraged when using DynamoDB. Any better suggestion?
@jean-louisgouwy
@jean-louisgouwy 2 жыл бұрын
It was really helpful to understand the basic of the one-single-db pattern. But one question, for example,, you put the User entity in the same table than follows, photos, etc ... But usually, in a microservice-based company/project , we will have a "user service", "media service", "post service" which will manage all their own business rules, right ? So concretely, in that case this pattern is still useful ? Or you duplicate data to avoid to make some proxy endpoint ?
@Brajgamer
@Brajgamer 2 жыл бұрын
I think it depends on the team compositions. First thing is that microservices are primarily for teams autonomy. So if we keep the teams autonomy then i think table per microservice is good. If we have a central authority for db like a dba then i think we can have a single table design.
@CosmosCR
@CosmosCR 2 жыл бұрын
The simplest thing i cant seem to figure out with dynamo.. How would go get a list of users who follow both "foobar" and "alex"? Or users who liked 2 different phots?
@michaelkrison
@michaelkrison 3 жыл бұрын
Awesome..
@foobar_codes
@foobar_codes 3 жыл бұрын
Thanks 🤗
@rohitkochar9022
@rohitkochar9022 2 жыл бұрын
Amazing talk as always Alex. Love your videos and I have learnt a lot. One quick qs. I created a GSI on one of the date column but since I have to do a between , I had to use scan operation. Is this a bad way to get data? I can use index with query but that won't let me do any between.
@AntonRand90
@AntonRand90 Жыл бұрын
Great video 🎉 Should ULIDs only be for Sort Keys rather than a PK? I thought a PK should ideally generate values that will be evenly spread over partitions. I like the concept of ULID but does it increase the risk of hot partitions much?
@mohamedjavithurrahuman2218
@mohamedjavithurrahuman2218 3 жыл бұрын
Useful
@foobar_codes
@foobar_codes 3 жыл бұрын
Glad you think so!
@kvsantosh
@kvsantosh 2 жыл бұрын
Good video. One question on scalability, lets say a photo gets multiple millions likes, in the current schema all the likes will have same PK. Do we not run the risk of hitting the limits of 10GB size limit per partition?
@Brajgamer
@Brajgamer 2 жыл бұрын
Yes we do, in that case one patter which i have used is that you pick a set of numbers let's say 1 to 100, and then whenever you store a like you just suffix or prefix a random number from that set in the sort key. That way your million likes would be distributed in 100 different partitions. Then you can keep a total count separately just like he did in this video with the likescount using transaction.
@rajpanchal9226
@rajpanchal9226 5 ай бұрын
This schema design is not suitable for search at all. I need a tutorial on a searchable dynamoDB design.
@sashikadulaj5209
@sashikadulaj5209 Жыл бұрын
Really helpful
AWS DynamoDB (Internals) Masterclass with Alex Debrie
1:31:48
The Geek Narrator
Рет қаралды 16 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Single-Table Design with DynamoDB - Alex DeBrie, AWS Data Hero
1:09:32
AWS Portsmouth User Group
Рет қаралды 69 М.
Common Single-Table design modeling mistakes with DynamoDB
1:05:29
Tyler Walch
Рет қаралды 10 М.
AWS DynamoDB Schema Design | How to choose the right key
12:15
Be A Better Dev
Рет қаралды 221 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 45 М.
Here's what I know about DynamoDB
37:36
Web Dev Cody
Рет қаралды 9 М.
Карина Кросс #shorts
0:16
Dolly and Friends Shorts Cartoons
Рет қаралды 361 М.
Её автомобиль никто не хотел ремонтировать!
20:12
Гараж Автоэлектрика
Рет қаралды 1,5 МЛН
Это лютый угар 🤣 | приколы Арсен Симонян
0:14
Арсен Симонян
Рет қаралды 294 М.