Redis Data Structures

Scenario Mapping

  • String: counters and simple states
  • Hash: object field cache
  • List: lightweight queue patterns
  • ZSet: ranking and priority queues

Selection Rule

Pick by access pattern first, not by familiarity.