[AWS Re:Invent 2023] Advanced design patterns with Redis

Created
November 30, 2023
Created by
D
DaEun Kim
Tags
AWS
Property

Redis it can be

  • optimized for performance
  • simple APIs to access structured data
  • flexible consistency and durability guarantees : transactions
image

Pick the data type for your access pattern

  • string
  • hash (dict)
  • set
  • sorted set (usually for ranking information)
  • geospatial (geo hash)
  • list
  • stream
image

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