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

Created
Nov 30, 2023
Created by
Tags
AWS
Property
 

Redis it can be

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

Pick the data type for your access pattern

  • string
  • hash (dict)
  • set
  • sorted set (usually for ranking information)
  • geospatial (geo hash)
  • list
  • stream
notion 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