Redis Core Foundational guidance for modeling data in Redis. Covers data-type selection and key-name conventions — the two decisions that most directly drive memory, performance, and maintainability. When to apply - Caching objects, sessions, or per-user state. - Counters, leaderboards, recent-items lists, unique-membership sets. - Reviewing or refactoring Redis key names. - Deciding between a Redis Hash and a JSON document for an entity. 1. Choose the right data structure Pick the type that matches the access pattern , not just the shape of the data. | Use case | Recommended type | Why | |--…