What are the basic knowledge of getting started with Redis database
This article shows you what the basics of Redis database are, concise and easy to understand, absolutely can make your eyes shine, through the detailed introduction of this article I hope you can gain something.
Redis is an open-source, network-enabled, memory-based and persistent log, Key-Value database written in the ANSI C language and available in multiple languages.
Redis is a key-value storage system.
Similar to Memcached, it supports a relatively large number of stored value types, including string, list, set, zset, and hash. These data types all support push/pop, add/remove, and take intersection union and subtraction, as well as richer operations, all of which are atomic. On this basis, redis supports a variety of different ways of sorting. As with memcached, data is cached in memory for efficiency. The difference is that redis periodically writes updated data to disk or changes to additional log files, and on this basis achieves master-slave synchronization.
Redis is a high-performance key-value database.
The emergence of redis largely compensates for the lack of key/value storage such as memcached, and in some cases can play a good role in supplementing relational databases. It provides Java, C/C++, C#, PHP, JavaScript, Perl, Object-C, Python, Ruby, Erlang and other clients, very convenient to use.
Redis supports master synchronization.
Data can be synchronized from a master server to any number of slave servers, which can be master servers associated with other slave servers. This allows Redis to perform single-layer tree replication. Save can intentionally or unintentionally write data. Because the publish/subscribe mechanism is fully implemented, the slave database can subscribe to a channel and receive the master server's complete message publication record when synchronizing the tree anywhere. Synchronization is helpful for scalability and data redundancy of read operations.
What are the basics of Redis database? Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.