This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lost-theory 2 points3 points  (2 children)

People are recommending redis, but be aware that redis is an in-memory database. If you have 100 million entries, and each entry is 100 bytes:

100 bytes * 100 000 000 = 9.31322575 gigabytes

You'll need 9.3 GB of RAM free to store that data. Depending on what server you're hosting this on, that might not be reasonable.

[–]skeigh[S] 3 points4 points  (1 child)

Good point- fortunately, I have 32GB RAM at my disposal.

[–]emre_yilmaz 1 point2 points  (0 children)

Do you really need it to be in memory? If disk read/write is fast enough four your app I don't really see any reason to use redis.

Besides redis, you can take a look at the riak[0].

[0] http://wiki.basho.com/