This intermediate course is the third in a series of courses in the Developing with Amazon DynamoDB curriculum. In this course, you will learn how to work with the consistency and capacity models in Amazon DynamoDB. This course teaches you how to implement a strongly consistent read for applications that need the most recently data written to your DynamoDB tables. You will gain an understanding of how to implement provisioned or on-demand capacity modes programmatically for a given table. You will learn how to identify throttling and monitor partition and item-level usage statistics. The course will also teach you how to implement Amazon DynamoDB Accelerator (DAX) to decrease end-user latencies.
• Course level: Intermediate
• Course duration: 2.5 hours
Activities
This course includes animations, video demonstrations, interactive content, knowledge checks, and an optional paid self-paced lab.
Course objectives
In this course, you will learn to:
• Implement the consistency modes required for your applications
• Manage capacity and implement Auto Scaling programmatically
• Identify and alleviate capacity throttling
• Create an Amazon DynamoDB Accelerator (DAX) caching solution
Intended audience
This course is intended for:
• New or experienced developers interested in learning how to interact with nonrelational databases in the cloud, and specifically DynamoDB
• Data engineers
Prerequisites
We recommend that attendees of this course have:
• Familiarity with DynamoDB and its features
• Working experience with database design or data modeling practices for key-value databases
• Completed these digital trainings: Exploring the DynamoDB API and the AWS SDKs, or Working with Indexes in DynamoDB
• Working experience with architecting and developing on AWS and planning and designing databases on AWS.
• Working knowledge of with one or more high-level programming languages (Python, Java, Node.js, or .NET)
Course outline
Lesson 1: Managing consistency in DynamoDB
• Understanding consistency
• Using eventual consistency and strong consistency
• Versioning and optimistic locking patterns
• Interactive knowledge check
Lesson 2: Managing capacity in DynamoDB
• Understanding capacity management
• On-demand and provisioned capacity
• Adaptive capacity
• Adjusting capacity modes
Lesson 3: Managing performance in DynamoDB
• Basic performance monitoring
• CloudWatch Contributor Insights
• Caching to improve performance
• Implementing Amazon DynamoDB Accelerator
Lesson 4: Course Wrap-Up
• Course summary
• Course assessment
• (Optional) Lab: Amazon DynamoDB Capacity Sizing