- Type: Document Store
- Serverless
- Schemaless (like most document stores)
- Table - collection of data
- Items - row/collection/document of one element w/i a table.
- Attribute - keys in an item. The values can be 'scalar' or 'nested' like a JSON.
- Partition Key - key-value style lookups which returns an item
- table defines a "hash attribute".
- I think this probably uses consistant hashing underneath the hood.
- Partition Key and Sort/Range Key
- each document is partitioned by the partition key. Then each file is sequentially sorted based off of sort/range key.
- Good for scans.
- Combination of partition & sort keys must be unique
- Global secondary index - both partition and sort keys are different from table
- Local secondary index - same partition key; different sort key
- Each time an item is added/updated/deleted it will induce a change-capture
- AWS Lambda can trigger off of change-capture.
- An asynchronous way to increment to a counter. No need for an ack.
- Good for use-cases where consistency barely matters.