I have key-values like following example:
KEY VALUE
key1 1
key2 2
key3 3
. .
. .
keyN N
Each of my key needs to map a unique number so I am mapping my keys to auto incremented numbers then inserting it to Redis via redis mass insertion which works very well and then using GET command for internal processing of all the key value mappings.
But I have more than 1 billion key so I was wondering is there even more efficient (mainly lesser memory usage) way for using Redis for this scenario?