Redis

Redis can be used as an in memory store, e.g. for storing session and application data for Node.js applications. These typically connect to the Redis server using node_redis. The connect-redis RedisStore is used to store session data.

Start the redis server ( on MacOSX following a standard MacPorts Redis install):

redis-server /opt/local/etc/redis.conf

Start the redis client:

redis-cli

Shut down the redis server using the shutdown command from the redis client:

redis 127.0.0.1:6379> shutdown

Common Commands

List all keys in the store:

redis 127.0.0.1:6379> keys *

Redis Tutorials

Reference