In redis docs, it is stated that
keys command should not be used in production, since it blocks other processes while executing, it is better to use scan iteration over all keys with some batch size.
I’ve read in docs that redis use hash index, so I assume it can’t use it for range queries like scan and keys.
But our system is done in such a way that we need to use scans extensively. Is it ok, could it decrease the performance of hash queries significantly?