The characteristics of Redis are: 1. The reading and writing speed of redis data is very fast, because it reads all the data into the memory for operation; 2. Although the data read by redis is stored in the memory, in the end it is Supports data persistence to disk; 3. Redis provides rich data structures.
redis data reading and writing speed is very fast, because it reads all the data into the memory for operation, and redis uses C language It is written in the language closest to the operating system, so the execution speed is relatively fast.
Although redis reads data, it is stored in the memory, but in the end it supports data Persistence to disk.
redis provides rich data structures.
All operations of redis are atomic and support transactions. The so-called atomicity means that all changes to the data are either executed or not executed at all.
redis supports master-slave replication. The host will automatically synchronize data to the slave and can be read and written. Separation.
Recommended tutorial: "Redis Tutorial"
The above is the detailed content of What are the characteristics of Redis?. For more information, please follow other related articles on the PHP Chinese website!