title: Redis keys with incremental integer value
body: <p>i have key-values like following example</p>
  
  <pre><code>KEY VALUE
  key1    1
  key2    2
  key3    3
  .       .
  .       .
  keyN    N
  </code></pre>
  
  <p>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 <a href="https://redis.io/topics/mass-insert" rel="nofollow noreferrer">redis mass insertion</a> which works very well and then using GET command for internal processing of all the key value mapping.</p>
  
  <p>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?</p>
  
  <p>Thanks</p>