Explain it in 60 seconds
Storing sessions in Redis
Backend Engineering · NoSQL and Redis · Beginner
How would you store user sessions in Redis?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Session ID as key, data as hash/string.
- TTL equals session timeout.
- Refresh TTL on activity (sliding).
- Delete on logout.
- Shared by all app servers.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.