Interview practice question
Deleting a huge Redis key froze the server
Backend Engineering · NoSQL and Redis · Experienced
Running DEL on a huge Redis set froze the server for several seconds. How should you delete large keys?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- DEL is synchronous and blocks.
- Use UNLINK (async free).
- lazyfree options.
- Or delete incrementally with SSCAN/SREM.
- Avoid creating huge keys.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.