Redis it can be
- optimized for performance
- simple APIs to access structured data
- flexible consistency and durability guarantees : transactions
Pick the data type for your access pattern
- string
- hash (dict)
- set
- sorted set (usually for ranking information)
- geospatial (geo hash)
- list
- stream
apply to use case
- handle rate limiting of requests
- ex) top 5 restaurants in Las Vegas
- use as a message queue for review ingestion
- improve location performance with a geospatial index