Another approach to improving performance is to split your keys using Redis logical databases: https://redis.io/docs/latest/commands/select/