NoSQL databases are a necessary a part of the expertise trade in at present’s world. Why are we speaking about NoSQL databases? NoSQL databases typically enable builders to be accountable for the construction of the info, and they’re an excellent match for large information situations and provide quick efficiency.
On this difficulty of Let’s Architect!, we discover Amazon DynamoDB capabilities and potential options to use in your architectures. A key energy of DynamoDB is the potential of working at scale globally; as an example, a number of merchandise constructed by Amazon are powered by DynamoDB. Throughout Prime Day 2022, the service additionally maintained excessive availability whereas delivering single-digit millisecond responses, peaking at 105.2 million requests-per-second. Let’s begin!
Working with a brand new database expertise means understanding precisely the way it works and the very best design practices for taking full benefit of its options.
On this video, the important thing ideas for modeling DynamoDB tables are mentioned, plus sensible patterns to make use of whereas defining your information fashions are explored and the way information modeling for NoSQL databases (like DynamoDB) is completely different from modeling for conventional relational databases.
With this video, you may find out about the primary parts of DynamoDB, some design issues that led to its creation, and all the very best practices for effectively utilizing major keys, secondary keys, and indexes. Peruse the unique paper to be taught extra about DyanamoDB in Dynamo: Amazon’s Extremely Obtainable Key-value Retailer.
When contemplating single-table versus multi-table in DynamoDB, it’s all about your software’s wants. It’s doable to keep away from naïve lifting-and-shifting your relational information mannequin into DynamoDB tables. On this publish, you’ll uncover completely different use instances on when to make use of single-table in contrast with multi-table designs, plus perceive sure data-modeling ideas for DynamoDB.

Use a single-table design to offer materialized joins in Amazon DynamoDB
Infrastructure price is a vital dimension for each buyer. Regardless of your function inside a company, you need to monitor alternatives for optimizing prices, when doable.
For that reason, we have now created a information on DynamoDB tables cost-optimization that gives a number of ideas for decreasing your invoice on the finish of the month.
Once you function world techniques which are unfold throughout a number of AWS areas, coping with information replication and writes throughout areas could be a problem. DynamoDB world tables assist by offering the efficiency of DynamoDB throughout a number of areas with information synchronization and multi-active database the place every duplicate can be utilized for each writing and studying information.
One other use case for world tables are resilient functions with the bottom doable restoration time goal (RTO) and restoration level goal (RPO). On this weblog collection, we present you easy methods to strategy such a situation.
See you subsequent time!
Thanks for becoming a member of our dialogue on DynamoDB. See you in just a few weeks, after we discover price optimization!
Different posts on this collection
On the lookout for extra structure content material?
AWS Structure Heart supplies reference structure diagrams, vetted structure options, Nicely-Architected greatest practices, patterns, icons, and extra!