Database: redis

1, Introduction to Redis    NoSQL (Not Only SQL), which means Not Only SQL, but also non relational database.   with the development of internet web2 With the rise of web2.0 website, the traditional relational database is dealing with web2.0 0 websites, especially the super large-scale and highly concurrent SNS type web2 0 ...

Added by witty on Fri, 25 Feb 2022 04:21:39 +0200

06 redis architecture design and application practice

Redis master-slave replication brief introduction The read-write capability supported by a single redis is still limited. At this time, we can use multiple redis to improve the concurrent processing capability of redis. How these redis cooperate requires a certain architecture design. Here, we first analyze and implement the master / slave ar ...

Added by genie on Thu, 24 Feb 2022 13:36:46 +0200

Redis note 7: redis master-slave replication

redis master-slave replication concept Master slave replication refers to copying data from one Redis server to other Redis servers. The former is called Master/Leader and the latter is called Slave/Follower. Data replication is one-way! It can only be copied from the master node to the slave node (the master node is dominated by writ ...

Added by swebajen on Wed, 23 Feb 2022 13:54:08 +0200

Persistent data of Redis

Why persist   all the data of Redis is in memory. If it goes down suddenly, all the data will be lost. Therefore, persistence is needed to ensure that the data of Redis will not be lost due to failure. When Redis is restarted, the persistence file can be reloaded to recover the data; Redis persistence related configuration Configure in ...

Added by toppac on Wed, 23 Feb 2022 04:01:05 +0200

Redis -- 02 -- redis string structure and Application

1 string Character array, redis string is a binary security string, which can store binary data such as pictures, as well as through Binary data compressed by tools such as messagepack or protobuffer. The internal actual storage can adopt int, embstr and raw storage according to the data characteristics of string (use object encoding key to v ...

Added by ten31studios on Tue, 22 Feb 2022 15:35:15 +0200

Redis persistence, master-slave replication and sentinel mode

1, Redis persistence RDB snapshot By default, redis saves the in memory database snapshot in the name dump RDB binary file. Redis can be set (save N M) to automatically save the dataset (the whole memory at the current time) as an RDB file when the condition of "at least M changes to the dataset in N seconds" is met. You can also en ...

Added by alexcrosson on Mon, 21 Feb 2022 18:01:27 +0200

Problems encountered in building Redis clusters from scratch

Install Redis Download package On the official website https://redis.io/download install Download redis-6.2.6 tar. GZ file Use Xshell to transfer files into the virtual machine Using sftp protocol, the host ip is the ip address in ens33 in ifconfig on the command line. For the first time, you need to enter the virtual machine login acc ...

Added by alan543 on Sun, 20 Feb 2022 20:35:15 +0200

Redis installation and common commands

preface Although relational database is widely used, its performance is relatively poor in the face of current data access. At this time, his good friend non relational database appeared. Enterprise development generally combines the two. Next, we will introduce the non relational database Redis (it is said that Redis was originally deve ...

Added by dantone on Sun, 20 Feb 2022 05:27:48 +0200

Redis weapon CSRedis under NetCore

It should be very common for everyone to use redis cache in the project. We used stackexchange before Redis. Inadvertently browsed a post * * net core 2.0 redis driver performance competition * *, it is found that there are two shorter and stronger components: CSRedis and newlife Redis is actually like servicestack Redis . ServiceStack.Redis ...

Added by dm3 on Sun, 20 Feb 2022 03:51:24 +0200

Redis learning notes

Redis The REmote DIctionary Server(Redis) is a key value storage system written by Salvatore Sanfilippo. Redis is an open source log and key value database written in ANSI C language, complying with BSD protocol, supporting network, memory based and persistent, and provides API s in multiple languages. It is often called a data structure ...

Added by Paulus Magnus on Sun, 20 Feb 2022 03:18:24 +0200