In the previous sections, we’ve satisfied the following access patterns in our application:
- Create user profile (Write)
- Update user profile (Write)
- Get user profile (Read)
- Upload photo (Write)
- View recent photos for user (Read)
- React to a photo (Write)
- View photo and reactions (Read)
- Follow user (Write)
- View followers for user (Read)
- View followed for user (Read)
The strategies we used to satisfy these patterns included:
- A single-table design that combined multiple entity types in one table.
- A composite primary key that allow for many-to-many relationships.
- An inverted index to allow reverse lookups on our many-to-many entity.
- Partial normalization to keep our data fresh while remaining performant.
- DynamoDB transactions to handle complex write patterns across multiple items.
In the steps below, we’ll run through the steps to clean up the resources we created in this lab.
Time to Complete Module: 20 Minutes