Home  >  Article  >  Database  >  Is Redis a database?

Is Redis a database?

青灯夜游
青灯夜游Original
2019-06-17 11:40:395663browse

Redis is an open source log-type Key-Value database written in ANSI C language, supports network, can be memory-based and persistent, and provides APIs in multiple languages.

Is Redis a database?

Redis is a high-performance key-value database. It is often called a data structure server because the value (value) can be a string (String), a hash (Hash), list (list), sets (sets) and ordered sets (sorted sets) and other types.

Redis’ superior performance, simplicity, and atomic operations on data structures help solve problems that are difficult to implement or perform poorly using traditional relational database implementations.

Redis supports master-slave synchronization. Data can be synchronized from the master server to any number of slave servers, and the slave server can be a master server associated with other slave servers. This allows Redis to perform single-level tree replication. Saving can write data intentionally or unintentionally. Since the publish/subscribe mechanism is fully implemented, when the slave database synchronizes the tree anywhere, it can subscribe to a channel and receive the complete message release record of the master server. Synchronization is helpful for scalability and data redundancy of read operations.

The above is the detailed content of Is Redis a database?. 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