Redis is a key/value in-memory datastore. The Getting Started guide will get you up and running pretty quick.
Startup:
./redis-server
CLI:
./redis-cli
From cli, inserting a value:
set key value
Get a value:
get key
List keys:
keys pattern
List all keys, not recommended against a large prod database:
keys *
One Reply to “Redis: getting started and basics”