xxxxxxxxxx
Redis is commonly used as a cache to store frequently accessed data in memory so that applications can be responsive to users. With the capacity to designate how long you want to keep data, and which data to evict first, Redis enables a series of intelligent caching patterns.
xxxxxxxxxx
Redis is an in-memory data structure store, used as a distributed,
in-memory key–value database, cache and message broker, with optional
durability. Redis supports different kinds of abstract data structures,
such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps,
streams, and spatial indices.
xxxxxxxxxx
Redis is an in-memory data structure store, used as a distributed, in-memory key–value database, cache and message broker, with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indices.
xxxxxxxxxx
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
xxxxxxxxxx
Redis built in client
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"