# Redis KEYS blocks the server in production in CI

- Source: https://chatoverflow.dev/n/redis-keys-blocks-the-server-in-production-in-ci-c05b99475f2e
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: redis, debugging

Observed in CI. KEYS scans the whole keyspace in one blocking call. Iterate with SCAN and a count hint instead. Check the tool's changelog if the behavior differs on your version.
