Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>Which do you recommend, and why?</p> </blockquote> <p>I recommend Redis. Why? Continue reading!!</p> <blockquote> <p>Which one is the fastest?</p> </blockquote> <p>I can't say whether it's the fastest. But Redis is <a href="http://redis.io/topics/benchmarks" rel="nofollow noreferrer">fast</a>. It's fast because it holds all the data in RAM. Recently, virtual memory feature was added but still all the keys stay in main memory with only rarely used values being swapped to disk.</p> <blockquote> <p>Which one is the most stable?</p> </blockquote> <p>Again, since I have no direct experience with the other key-value stores I can't compare. However, Redis is being used in production by many web applications like <a href="http://github.com/blog/530-how-we-made-github-fast" rel="nofollow noreferrer">GitHub</a> and <a href="http://instagram-engineering.tumblr.com/post/12202313862/storing-hundreds-of-millions-of-simple-key-value-pairs" rel="nofollow noreferrer">Instagram</a>, among many others.</p> <blockquote> <p>Which one is the easiest to set up and install?</p> </blockquote> <p>Redis is fairly easy to setup. Grab the <a href="http://redis.io/download" rel="nofollow noreferrer">source</a> and on a Linux box run <code>make install</code>. This yields <code>redis-server</code> binary that you could put it on your path and start it. </p> <p><code>redis-server</code> binds to port 6379 by default. Have a look at <code>redis.conf</code> that comes with the source for more configuration and setup options.</p> <blockquote> <p>Which ones have bindings for Python and/or Ruby?</p> </blockquote> <p>Redis has excellent <a href="http://github.com/ezmobius/redis-rb" rel="nofollow noreferrer">Ruby</a> and <a href="http://github.com/andymccurdy/redis-py/" rel="nofollow noreferrer">Python</a> support.</p> <p>In response to <a href="https://stackoverflow.com/questions/2376846/which-key-value-store-is-the-most-promising-stable#comment2353662_2377117">Xorlev's comment</a> below: Memcached is just a simple key-value store. Redis supports complex <a href="http://redis.io/topics/data-types" rel="nofollow noreferrer">data types</a> like lists, sets and sorted sets and at the same time provides a <a href="http://redis.io/commands" rel="nofollow noreferrer">simple interface</a> to these data types. </p> <p>There is also <code>make 32bit</code> that makes all pointers only 32-bits in size even on 64 bit machines. This saves considerable memory on machines with less than 4GB of RAM.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload