When a client executes a SUBSCRIBE command to SUBSCRIBE to a channel or channels, the server associates the client with the subscribed channel in the...
Describes the process of redis master-slave replication stage and the instruction operation between the process, the problem between the master-slave replication is described, introduces the...
The redis connection driver, the most used by far, should be Jedis. The latest is 3.3.0. Spring provides a RedisConnectionFactory interface that generates a RedisConnection...
The Sentinel mechanism (Sentinel) is a Redis solution to high availability: it is a Sentinel system consisting of one or more Sentinel instances. The image...
Redis Overview Data type Redis supports the following five data structure types: String: String List: List (ordered and repeatable) Set: Set (unordered and non-repeatable) Hash:...
On October 20, 2018, Zhou Yanwei, founder of source Database Forum (ODF), shared his speech "Using ArkControl to realize MySQL Operation and Maintenance System Construction"...
In C language, String is represented by char[] array. Source code uses SDS(Simple Dynamic String) to encapsulate char[], which is the smallest unit of Redis...
Because the persistence process of Redis cannot guarantee data loss, therefore, a single Redis cannot guarantee high availability, so we adopt the way of multi-machine...
Note: Redis single threading refers to the fact that the network request module uses one thread, i.e. one thread to process all network requests, while...
Redis is based on memory, persistent log, key-value database high-performance storage system, and provides a variety of language API. String is a good storage method,...
Redis persistency Another method: RDB snapshot RDB snapshot: a snapshot (in binary format) of the memory data generated at a certain point is written to...
Redis as a support distributed database, multi-machine operation is particularly important, this paper on Redis multi-machine function of replication, sentry and cluster functions to do...
Picking up where WE left off, this article will continue documenting the other two data types in redis data structures, portals: Redis base-data types and...
AOF Persistent data is stored by default in an AOF file named appendone. AOF in the directory specified in dir, and information about the persistent...
When a numeric operation is encountered, Redis converts the string type to a numeric value. Because INCR and other instructions themselves have the characteristics of...