The Three DynamoDB Limits You Need to Know

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

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

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

    Love that you took the leap into creating videos! Looking forward to watching more of your content!

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

      Thanks! I'll be adding more :)

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

    simplified, amazing and precise

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

    nice video man, explained well!!

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

    Great to see you back on RUclips after so long time. I think DDB limits are also it's biggest pros when you measure it in terms of performance.
    I wish DAX could have also been serverless in terms of pricing like pay per usage but it's charged in per hour. But for 90% of the time I don't think we really need it..

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

      Thanks!
      Agreed on DAX, thought it's definitely tricky. Given the situations where you need that performance, you're probably not in a fully serverless environment anyway as you'll want a persistent TCP connection to DAX rather than using Lambda.

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

    On the page size limit, since dynamodb has throttling on provisioned iops, 1MB or any other practical limit helps customers that their request once accepted will be served and won't be throttled in between. In order to achieve this, they need some practical limit on the total data returned.

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

    There are updates on partitions limit to make it less real but overall great content 👏👏👏 what i realised after 2 decades of using sql & then mongodb is once you hit any kind of scale you tend to be forced to use any database with very similar limits as dynamodb or you end up with huge spikes in lag, or bills, or both. It's easier with sql/mongo at first but usually people tend to build app with expectation of high usage and if that happens, those databases may hit you hard at worst time - during the traffic spike, when people actually try to use your app.

  • @Nicholas7506
    @Nicholas7506 Месяц назад

    Is there a limitation on the size of a partition for GSI like there is in the 10gb main table?

    • @alexbdebrie
      @alexbdebrie  Месяц назад

      Generally, there's not a hard limit on the size of a partition. DDB will usually keep them around 10GB, but it's not something you need to think about. This is true for main table and GSIs.
      *However*, if you have a local secondary index (LSI) on your table, then item collections (the set of keys with the same partition key value) cannot exceed 10GB. This is a hard limit and a hard wall to run into! :)

  • @RohitPal-lz1wf
    @RohitPal-lz1wf 2 года назад

    Hi Alex, Nice lecture. I have one question. How DynamoDB manages connection pools? Can you please explain.

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

      Hey Rohit, glad you liked it.
      Interactions with DynamoDB are over an HTTP API, so your connection will be like other HTTP clients. The big thing here is to ensure you're using HTTP Keep-Alive to reuse the connection across requests.

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

    Want to see your new video!

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

      Any requests?? Always looking for topic ideas :)

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

      @@alexbdebrie Maybe a video in which you go through how you would structure your dynamodb tables giving some non-trivial (yet a common) situtation (e.g. a dating website). Each user have a list of images, chat messages, comments, e.tc.

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

      @@asdfasdfuhf Good call! I have some like this already. :)
      You can see an e-commerce example here: ruclips.net/video/nsAJmyg2QU8/видео.html&ab_channel=AlexDeBrie
      Also, that example is from my book, which has a bunch of data modeling techniques plus 5 full walkthrough examples: www.dynamodbbook.com/