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
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
You're very welcome Utsav. So glad my videos are helping you out!
Using DDB exclusively as a backend dev at my job right now, can confirm these tips are beneficial
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.
Yeah SQL has OFFSET which allows you to paginate anywhere you want to begin with.
Always great AWS stuff, keep on recoding! Thank you!
Thanks Pawel! More coming! :D
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.
Great tip! Thanks for sharing.
Great tips that reflect real scenarios!
Glad it was helpful!
Always enable Point in Time Recovery!
Good tip Andy!
That was great - thank you very much
do you have any workshops on best practices when moving from RDMS to DynamoDB?
One word: "AWESOME!"
DDB stream internally is implemented by Kinesis.
Neat to know! Thanks G O !
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?
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!
@@BeABetterDev Thank you!
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 🙌🏻🙌🏻🙌🏻
Great suggestion Oscar, I'll see where I can work in this topic. Cheers !
Very Helpfull
Glad to hear that jeffin!
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) 😁
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!
amplify admin UI lets u create a relationship with their UI but are they using best practices behind the scenes?
Great tips.
Thanks Rick!
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 ?
What are YOUR Top DynamoDB Tips?
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
@Amarjeet, I think you've got it mixed up. What is purchased multiple times would be ProductID. Each Customer+Order combination remains unique.
I want latest record enter in DynamoDb, Can anyone help me, How to find latest record from dynamoDB
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
I like content 🙂
Thanks !