why redis is used code example
Example 1: who uses redis
install redis
$ wget http://download.redis.io/releases/redis-5.0.8.tar.gz
$ tar xzf redis-5.0.8.tar.gz
$ cd redis-5.0.8
$ make
Example 2: who uses redis
Launch redis
$ src/redis-server
Example 3: who uses redis
Redis launch from any dir
$ sudo make test install
$ redis-server
Example 4: who uses redis
Redis built in client
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"