In the previous modules, we satisfied the following access patterns in our game:
- Create user profile (Write)
- Update user profile (Write)
- Get user profile (Read)
- Create game (Write)
- Find open games (Read)
- View game (Read)
- Join game for a user (Write)
- Start game (Write)
- Update game for a user (Write)
- Update game (Write)
- Find games for user (Read)
The strategies we used to satisfy these patterns include:
- A single-table design that combines multiple entity types in one table.
- A composite primary key that allows for many-to-many relationships.
- A sparse secondary index to filter on one of the fields.
- DynamoDB transactions to handle complex write patterns across multiple entities.
- An inverted index to allow reverse lookups on the many-to-many entity.
In the following steps, we clean up the resources we created in this lab. It is important to delete these resources so that you do not incur additional AWS charges.
Time to Complete Module: 20 Minutes