Imagine you are building a mobile application to upload photos. Users will upload photos through your application, and friends can view their photos.
Your application is a social application, so users will want to find and follow friends. By following a friend, a user will receive notifications of the friend’s new photos and be able to message the friend.
When using your application, users will want to browse all photos for a particular user, starting with the most recent photo.
Finally, users can react to a photo with one of four emojis — a heart, a smiley face, a thumbs up, or a pair of sunglasses. When looking at a photo, users should be able to see the number of each type of reaction a photo has received.
In this lab, you will learn how to model your DynamoDB table to handle all of the access patterns in your application. The following modules will show you some core data modeling strategies, as well as using the new transactions feature, to use DynamoDB in a fast, performant way.
In the steps in this module, you will configure your environment and download the code to follow along during the lab.
Time to Complete Module: 20 Minutes
In this module, you learned about the example application you build in this lab. You also set up an AWS account and configured an AWS Cloud9 instance.
You are now ready to start the lab. With DynamoDB, it is important to plan your data model up front so that you have fast, consistent performance in your application. In the next module, you learn about planning your data model.