Home  >  Article  >  Database  >  What are the characteristics of Redis?

What are the characteristics of Redis?

hzc
hzcOriginal
2020-06-28 14:13:2810043browse

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.

What are the characteristics of Redis?

  • 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn