pedigree | 14 years ago | on: Storing hundreds of millions of simple key-value pairs in Redis
pedigree's comments
page 1
pedigree | 14 years ago | on: Storing hundreds of millions of simple key-value pairs in Redis
i had the same issue, normal storage was 1.1gb of space, HSET down to 200mb and binary packing every integer down dbl() bought it right down to 163mb of memory (32bit instance). For that 163mb, I was slicing a md5 of the field for the hset prefix, packing that and then using the remainer as the hset suffix. (due to the data format of the input field)