Top 5 Tips For Working With DynamoDB

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Learn about my Top 5 tips for AWS DynamoDB that I wish I knew about before I started using it.
    Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabet...
    Videos about topics discussed:
    DynamoDB Streams - • What is a DynamoDB Str...
    DynamoDB Schema Design - • AWS DynamoDB Schema De...
    DynamoDB Queries - • Query and GetItem on a...
    DynamoDB Pagination - • How Pagination Works i...
    DynamoDB GSIs - • What is a DynamoDB GSI...
    🎉SUPPORT Daniel @ BE A BETTER DEV🎉
    Become a Patron: / beabetterdev
    📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
    Clean Code - amzn.to/37T7xdP
    Clean Architecture - amzn.to/3sCEGCe
    Head First Design Patterns - amzn.to/37WXAMy
    Domain Driven Design - amzn.to/3aWSW2W
    Code Complete - amzn.to/3ksQDrB
    The Pragmatic Programmer - amzn.to/3uH4kaQ
    Algorithms - amzn.to/3syvyP5
    Working Effectively with Legacy Code - amzn.to/3kvMza7
    Refactoring - amzn.to/3r6FQ8U
    🎙 MY RECORDING EQUIPMENT 🎙
    Shure SM58 Microphone - amzn.to/3r5Hrf9
    Behringer UM2 Audio Interface - amzn.to/2MuEllM
    XLR Cable - amzn.to/3uGyZFx
    Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
    Desk Microphone Mount - amzn.to/3qXMVIO
    Logitech C920s Webcam - amzn.to/303zGu9
    Fujilm XS10 Camera - amzn.to/3uGa30E
    Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
    Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
    💻 MY DESKTOP EQUIPMENT 💻
    Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
    Autonomous ErgoChair 2 - bit.ly/2YzomEm
    Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
    MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
    Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
    Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
    🌎 Find me here:
    Twitter - / beabetterdevv
    Instagram - / beabetterdevv
    Patreon - Donations help fund additional content - / beabetterdev
    #SoftwareEngineer
    #SoftwareDeveloper

ความคิดเห็น • 38

  • @utsavprabhakar5072
    @utsavprabhakar5072 2 ปีที่แล้ว +4

    Following you for a week now due to a project involving Dynamo db, SQS and lambda. Your DDB videos are helping me understand complex AWS docs with ease, thanks a lot :D

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว +1

      You're very welcome Utsav. So glad my videos are helping you out!

  • @ncongnolancong
    @ncongnolancong 3 ปีที่แล้ว +3

    Using DDB exclusively as a backend dev at my job right now, can confirm these tips are beneficial

  • @leonardobatistela4542
    @leonardobatistela4542 2 ปีที่แล้ว +3

    My top DynamoDB tip is don't use it if you need standard pagination, especially if the table contains thousands of items. DDB was not designed to do that. It only allows you to retrieve the next page, plus filtering and sorting have a lot of limitations.

    • @alexagranov3094
      @alexagranov3094 11 หลายเดือนก่อน

      Yeah SQL has OFFSET which allows you to paginate anywhere you want to begin with.

  • @piegpa
    @piegpa 3 ปีที่แล้ว +5

    Always great AWS stuff, keep on recoding! Thank you!

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Pawel! More coming! :D

  • @alexagranov3094
    @alexagranov3094 11 หลายเดือนก่อน

    A tip about scans. Avoid using for customer facing flows where performance is vital. They're fine for internal tools where you need to browse all items and performance is not that important.

    • @BeABetterDev
      @BeABetterDev  11 หลายเดือนก่อน

      Great tip! Thanks for sharing.

  • @leonzer8257
    @leonzer8257 3 ปีที่แล้ว +2

    Great tips that reflect real scenarios!

  • @0x49BBF
    @0x49BBF 2 ปีที่แล้ว +2

    Always enable Point in Time Recovery!

  • @bobsutube
    @bobsutube 11 หลายเดือนก่อน

    That was great - thank you very much

  • @TheRed662
    @TheRed662 3 ปีที่แล้ว +1

    do you have any workshops on best practices when moving from RDMS to DynamoDB?

  • @5minutesseries431
    @5minutesseries431 2 ปีที่แล้ว

    One word: "AWESOME!"

  • @AlvinC-sz3li
    @AlvinC-sz3li 3 ปีที่แล้ว +1

    DDB stream internally is implemented by Kinesis.

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Neat to know! Thanks G O !

  • @tango12341234
    @tango12341234 2 ปีที่แล้ว +1

    I recently heard that Lyft uses Dynamo DB for geolocation data updates but how can that be possible if Dynamo DB is a eventually consistent database?

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว +1

      Hi Zenna,
      DynamoDB supports eventual and strong consistency. The only catch is that strong consistency requires extra read capacity consumption and will cost you more $. See this link for more details: docs.aws.amazon.com/whitepapers/latest/comparing-dynamodb-and-hbase-for-nosql/consistency-model.html
      Hope this helps!

    • @tango12341234
      @tango12341234 2 ปีที่แล้ว

      @@BeABetterDev Thank you!

  • @huscachafe
    @huscachafe 3 ปีที่แล้ว +1

    Great video !! 👏🏻👏🏻Could you please créate a video for ddb streams that trigger to an eventbridge with differents rules ? It would be very interesting to watch 🙌🏻🙌🏻🙌🏻

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      Great suggestion Oscar, I'll see where I can work in this topic. Cheers !

  • @jeffinj7707
    @jeffinj7707 3 ปีที่แล้ว +1

    Very Helpfull

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Glad to hear that jeffin!

  • @akankshaapathak
    @akankshaapathak 3 ปีที่แล้ว +1

    Great video! Just a suggestion: You can keep the volume of background music lil lower. (P.S. Your voice is amazing, you don’t need any background music) 😁

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      Thanks so much Akanksha! I started to get the feeling that me talking for 8 minutes would get boring, but thank you for the recommendation!

  • @maazm4722
    @maazm4722 3 ปีที่แล้ว

    amplify admin UI lets u create a relationship with their UI but are they using best practices behind the scenes?

  • @rickharold7884
    @rickharold7884 3 ปีที่แล้ว +1

    Great tips.

  • @sakarsr
    @sakarsr 3 ปีที่แล้ว

    Relay nice tips. Is their a way to design a single table for an textile industry. It has lot of departments and each
    department has both related and non related functions with other departments. Is DDB is the right choice for
    this ?

  • @BeABetterDev
    @BeABetterDev  3 ปีที่แล้ว

    What are YOUR Top DynamoDB Tips?

  • @Amarjeet-fb3lk
    @Amarjeet-fb3lk ปีที่แล้ว

    Hi ,
    In your 3rd example, a customer can purchase same item multiple times,so it will have same customer,orderid combination,and hence duplicate primary key. Will it work in DynnmoDb

    • @iiokonkwo
      @iiokonkwo 7 หลายเดือนก่อน

      @Amarjeet, I think you've got it mixed up. What is purchased multiple times would be ProductID. Each Customer+Order combination remains unique.

  • @ArunKumar-jh4qe
    @ArunKumar-jh4qe ปีที่แล้ว

    I want latest record enter in DynamoDb, Can anyone help me, How to find latest record from dynamoDB

  • @VeerSingh-lp6oe
    @VeerSingh-lp6oe 3 ปีที่แล้ว

    Hey! I'm using AWS appsync for a project which uses dynamodb as the database, I'm not sure how I can define the partition and sort keys for different @models, the only way I found out how to do queries was with a @key directive but that adds a GSI. If anyone can help lemme know, pretty urgent

  • @xcaptz
    @xcaptz 3 ปีที่แล้ว +1

    I like content 🙂