how is redis used code example
Example 1: who uses redis
Launch redis
$ src/redis-server
Example 2: who uses redis
Redis built in client
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
Launch redis
$ src/redis-server
Redis built in client
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"