How to stop redis-server autostart

It seems that the redis-server package uses rc.d scripts, and the preferred way to deal with them in Ubuntu is using update-rc.d: sudo update-rc.d redis-server disable Should do the trick. You can also disable it in a certain runlevel only: sudo update-rc.d redis-server disable 2

Redis vs MemoryCache

MemoryCache is embedded in the process , hence can only be used as a plain key-value store from that process. An seperate server counterpart of MemoryCache would be memcached. Whereas redis is a data structure server which can be hosted on other servers can interacted with over the network just like memcached , but redis … Read more

Redis how to store associative array? Set or Hash or List?

You can use SET and Hash and SORT in combination redis 127.0.0.1:6379> HMSET TEST_12345 name “Post A” val2 “Blah Blah” val3 “Blah Blah Blah” OK redis 127.0.0.1:6379> HMSET TEST_54321 name “Post B” val2 “Blah Blah” val3 “Blah Blah Blah” OK redis 127.0.0.1:6379> HMSET TEST_998877 name “Post C” val2 “Blah Blah” val3 “Blah Blah Blah” OK … Read more

Issue with Redis install “cc: Command not found”

wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable sudo apt-get install make sudo apt-get install gcc sudo apt-get install tcl sudo apt-get install build-essential sudo apt-get update ## if there is another error like “fatal error: jemalloc/jemalloc.h: No such file or directory” ## just run “make distclean” make make test