I have a large amount of
integer => string values that I want stored in a RAM on a smaller server. However, it seems that data stores like membase and redis hash the key resulting in a key that is much larger to store than a integer. (I assume they do this since they assume keys will contain strings and need to be setup for scaling to multiple nodes).
Are there any key stores that use integer keys so I can cram a few million objects into just a few megabytes of memory? I would also like it to flush to disk every once in a while if possible.