Redis is an open source trial of the ANSI C language, adheres to the BSD protocol, supports the network, can be based on the memory of the persistent log-type, Key-value database. This is often referred to as a data structure server.
The data types of Redis are data types such as strings (string), hash (MAP), List, collection (sets), and ordered collection (sorted sets).
There are three features of Redis and other Key-value cache products:
1. Redis supports persistence and can keep the data inside the memory on disk. It can be loaded again when it is restarted.
2, Redis not only support the simple key-value type of data, but also support the list, set, Zset, hash and other data structure storage.
3, Redis support data backup, that is, Master-slave mode of data backup.
Installation under the Redis window
Download the installation package: Https://github.com/MSOpenTech/redis/releases.
Redis supports 32-bit and 64-bit. This needs to be based on the actual situation of your system to choose your own version.
Download the Redis-x64-xxx.zip package to C drive, and after unpacking, rename the folder to Redis.
Pro-Test download to other drive letter can not be used, it is recommended to unpack the package on the C drive.
Open a CMD window and use the CD command to switch directories to C:\redis run Redis-server.exe redis.windows.conf
Open the Second CMD window, do not close the original window. Otherwise you will not be able to access the server.
Switch to Redis directory run redis-cli.exe-h 127.0.0.1-p 6379
Setting the key-value pair set LGT 123
Remove key value pair get LGT
So the installation is complete. Thank you for watching. I'll explain in a chapter how to install Redis under Linux, so please watch ...
Installation and deployment of Redis (Windows)