DynamoDB
- Amazon NoSQL, replication across multiple AZs
- Highly scalable, millions of requests per seconds (real-time)
- Normally used for session storage
- has Tables
- Each table has a Primary Key
- Option 1: Partition Key (Hash)
- Must be unique for each item and diverse
- For example:
User_ID
- Option 2: Partition Key + Sort Key (Hash + Range)
- The combination of these 2 must be unique for each item
- Data is grouped by Partition key
- For example,
User_ID for partition key and Game_ID for sort key
- Optional Sort Key
- determine the order of how data has the same partition key is stored
- Each table has infinite number of rows (items)
- Each item has attributes (can be null and can be added overtime)
- maximum size of item is 400KB
- Supported type including:
- Scalar Types: String, Number, Binary, Boolean, Null
- Document Types: List, Map
- Set Types: String Set, Number Set, Binary Set
- Has 2 modes