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

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 76

  • @simranbayas810
    @simranbayas810 3 года назад +9

    OMG, didn't see this coming. "Marcia and Alex" Dream Team, period.

  • @ediancomachio2783
    @ediancomachio2783 3 года назад +5

    THIS IS AWESOME! I'm so glad I've subscribed to this channel

  • @Deiefe
    @Deiefe 3 года назад +1

    This is great, thanks heaps both for these explanations!

  • @UnknownIdentityDE
    @UnknownIdentityDE 2 года назад +4

    The best DynamoDB tutorial I have seen to date. I love the clean and simple code.

  • @yassermh5851
    @yassermh5851 2 года назад +1

    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?

  • @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

  • @jdd1955
    @jdd1955 3 года назад +6

    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.

  •  2 года назад +1

    Excellent contribution, I heard about his DynamoDB book and this video fits perfectly as an introduction.

  • @b1021
    @b1021 Год назад

    Given the model shown, how would you query the table to return all users?

  • @WisoAp
    @WisoAp 3 года назад +2

    Thank you for this video :) Spanish community deserves this awesome stuff as well!!

    • @foobar_codes
      @foobar_codes  3 года назад +1

      Hahhaa now i need to find a Spanish version of alex 🤷🏽‍♀️

  • @rickfarina9835
    @rickfarina9835 3 года назад +2

    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!

  • @dbs1uk
    @dbs1uk 3 года назад +2

    This is an excellent non-trivial example. It's also the cleanest approach to working with DynamoDB that I've seen to date 👏👏👏

  • @jpablonov
    @jpablonov 3 года назад +1

    Muchas gracias Marcia por esta excelente entrevista con Alex!!!!! Saludos desde argentina!!

  • @BrendanGrainger
    @BrendanGrainger 2 года назад +1

    Thank you so much for this Marcia and Alex. This was so helpful.

  • @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

  • @MrJulito88
    @MrJulito88 2 года назад +1

    Great presentation of DynamoDB possibilities

  • @tringuyenucminh167
    @tringuyenucminh167 2 года назад +1

    It's very helpful for me. Thank you so much Marcia and Alex ^^

  • @cristianpallares3847
    @cristianpallares3847 3 года назад +1

    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

  • @omar-salim
    @omar-salim Год назад

    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?

  • @engineforce
    @engineforce 3 года назад +1

    Thanks so much for this video and having table of content in your descriptions is really useful.

  • @ivorpad
    @ivorpad 3 года назад +1

    This was really good. Learned tons about DDB. I didn't know about ULIDs either 👍

  • @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?

  • @garywaddell6309
    @garywaddell6309 3 года назад +2

    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.

  • @aminebioudi8414
    @aminebioudi8414 Год назад

    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 ?

  • @bisadelara5933
    @bisadelara5933 3 года назад +1

    Thanks so much ! Appreciate the effort of bringing all this content !

  • @jeffreypalma4498
    @jeffreypalma4498 3 года назад +1

    Thank you. Good class.

  • @benjaminiduwe2958
    @benjaminiduwe2958 Год назад +1

    Great content, I learnt a lot from this video.

  • @alambertt
    @alambertt 3 года назад +1

    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 года назад +1

      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 года назад +1

      @@foobar_codes excelente 👍🏻🤗 Esperaremos la serie de DynamoDB con ansias. Es una excelente BD. Ya vi los Reinvent 🤯 Realmente es genial

  • @michaelkrison
    @michaelkrison 3 года назад +1

    Awesome..

  • @Trademm
    @Trademm 2 года назад +1

    What i needed

  • @56faisal
    @56faisal 3 года назад +1

    Wow! this is really great stuff! Thank you both for this :D

  • @ryandsouza2962
    @ryandsouza2962 3 года назад +2

    Awesome video! DDB is ♥️

  • @SergioAdonis
    @SergioAdonis 2 года назад +1

    Este video es oro

  • @GilluanFormiga
    @GilluanFormiga 2 года назад +1

    Nice video.

  • @squidwurrd
    @squidwurrd 3 года назад +1

    Got the book!

  • @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 Год назад +1

      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.

  • @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. 🎉

  • @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?

  • @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 Год назад

      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.

  • @Johnathanaa7
    @Johnathanaa7 3 года назад +1

    Great video, loved the way you all walked through the steps of designing

  • @cristianyesid99
    @cristianyesid99 2 года назад

    Thank you very much for the video!

  • @apidas
    @apidas 3 года назад

    Thank you so much Marcia and Alex for making this video possible

  • @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.

  • @tkjnnmf5315
    @tkjnnmf5315 2 года назад +1

    Really useful channel Thx!

  • @RicoMinovo
    @RicoMinovo 2 года назад

    Thanks! Nicely explained at a high and low level .

  • @rajpanchal9226
    @rajpanchal9226 Месяц назад +1

    This schema design is not suitable for search at all. I need a tutorial on a searchable dynamoDB design.

  • @mohamedjavithurrahuman2218
    @mohamedjavithurrahuman2218 3 года назад +1

    Useful

  • @vardaanaashish6753
    @vardaanaashish6753 Год назад

    Fantastic content!

  • @sashikadulaj5209
    @sashikadulaj5209 8 месяцев назад

    Really helpful