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
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.
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 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) 😁
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 🙌🏻🙌🏻🙌🏻
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!
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 ?
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
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
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
Always great AWS stuff, keep on recoding! Thank you!
Thanks Pawel! More coming! :D
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.
Great tips that reflect real scenarios!
Glad it was helpful!
That was great - thank you very much
What are YOUR Top DynamoDB Tips?
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.
do you have any workshops on best practices when moving from RDMS to DynamoDB?
One word: "AWESOME!"
Always enable Point in Time Recovery!
Good tip Andy!
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!
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!
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 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 ?
amplify admin UI lets u create a relationship with their UI but are they using best practices behind the scenes?
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
I like content 🙂
Thanks !
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