redis principle 3: High Availability Cluster

1. Comparison of Redis cluster schemes Sentinel mode Before redis 3.0, the cluster is usually implemented by using sentinel tool to monitor the status of the master node. If the master node is abnormal, it will make a master-slave switch. Taking a slave as the master, the sentinel configuration is slightly complex, and the perfo ...

Posted by epukinsk on Mon, 25 Oct 2021 21:31:04 -0700

RedisTemplate details

I. overview of RedisTemplate 1.Redis Redis is an open source key value database, which runs in memory and is written in C language. Redis is usually used for enterprise development to implement caching. Similar products include Memcache. Memcached, etc. 2.Jedis Jedis is a Java oriented client officially launched by Redis, which provides man ...

Posted by kdreg on Mon, 25 Oct 2021 17:38:23 -0700

Summary of zset command of redis

Summary of zset command of redis zset(sorted set) Redis zset, like set, is also a collection of string elements, and duplicate members are not allowed. The difference is that each element is associated with a score of type double. redis sorts the members of the collection from small to large through scores. The members of zset are unique, ...

Posted by hossein2kk on Sun, 24 Oct 2021 17:14:44 -0700

Redis6 - Introduction

The notes of this article are from the video of dark horse Shang Silicon Valley https://www.bilibili.com/video/BV1Rv41177Af , relevant information can be obtained in the comment area. 1. Introduction to NoSQL database 1.1.NoSQL database overview (1) NoSQL (Not Only SQL), that is, "not just SQL", generally refers to non rel ...

Posted by Yamakazi on Sun, 24 Oct 2021 01:28:54 -0700

Want to thoroughly understand how large manufacturers achieve Redis high availability? It's enough to read this article

High Availability HA (High Availability) is one of the factors that must be considered in the architecture design of distributed systems. It usually refers to reducing the time when the system cannot provide services through design. Assuming that the system can always provide services, we say that the availability of the system is 100%. If the ...

Posted by Retired Bill on Fri, 22 Oct 2021 22:19:40 -0700

Redis tutorial - Introduction to redis Basics

A brief description of nosql concepts The full name of nosql is not only sql, that is, not only non-relational database, but also nosql storage is not as dependent on business logic as relational database. nosql storage is very simple SQL storage. What is redis As we all know, total memory reads much faster than disk reads. So it's a good ch ...

Posted by imnu on Mon, 18 Oct 2021 09:19:38 -0700

Chat room source code development, scanning code login simple implementation

preface With the development of science and technology, people can log in to the chat room source code in a variety of ways. In addition to logging in with a third-party account, they can also scan the code to log in. The specific implementation code is as follows: Realization idea The user's choice to scan the code for login can be regarde ...

Posted by greekuser on Fri, 15 Oct 2021 02:21:53 -0700

Redis -- distributed cache

What is distributed caching? In the original application, the cache is usually stored in the JVM of the local application. However, with the trend of project microservicing, after the project is reconstructed in the way of microservice, the cache should be managed and stored by a separate server and deployed in different physical areas to achi ...

Posted by Blockis on Wed, 13 Oct 2021 12:11:08 -0700

Spring boot is compatible with both stand-alone and cluster configurations. I won't say it to ordinary people

preface Most web development data are stored in the database, but with the increase of data, our interface will be very slow. At this time, we will introduce redis to cache data that will not change frequently, so as to achieve the effect of fast data response stand-alone In spring, redis is introduced to configure the link factory of redis. ...

Posted by tymlls05 on Wed, 13 Oct 2021 06:40:54 -0700

Getting started with Redis

concept Brief introduction to Redis redis is a nosql database nosql: not only sql, that is, a non relational database Why learn nosql Memory storage is 100000 times faster than disk reading of traditional relational database The bandwidth of memory is also much higher than that of disk Mainstream nosql database Advantages of R ...

Posted by PHPsites on Tue, 12 Oct 2021 15:19:30 -0700