What are the characteristics of redis
This article will explain in detail what the characteristics of redis are, the editor thinks it is very practical, so share it with you for reference. I hope you can get something after reading this article.
As a kind of non-relational database, redis belongs to key data storage. Because redis supports high concurrency and fast data access, it is often used as a cache in production to improve the efficiency of data reading and the concurrent performance of the whole application. Redis has the following main characteristics
1. Support for multiple data structures
two。 Persistence operations are supported, and data persistence strategies of AOF and RDB are supported to persist data to disk.
3. There is no need to consider data consistency in the case of single-threaded requests and concurrent requests.
4. Supports two high availability modes: Sentinel mechanism (master-slave mode) and redis cluster high availability
5. Message mechanism that supports publish and subscribe (redis is not recommended as message middleware)
6. Support for simple transactions.
This is the end of this article on "what are the characteristics of redis?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.