Sorry guys, but i couldn't find a command to return random keys among the whole database. But i think scan command can be a good candidate? For example scan needs a cursor, if every time i give it a random cursor to scan command, can it return me a batch of random keys?
Comment From: davidreis97
https://redis.io/commands/randomkey/ would this be useful?
Comment From: madolson
I would also endorse random key.