Consistency between cluster and Redis data

catalogue 1, Introduction of Hash algorithm -- distributed cache 2, Introduction of consistent Hash algorithm 3, Redis cluster fragmentation 4, Client load parameter cache 1, Introduction of Hash algorithm -- distributed cache There is an e-commerce platform that needs to use Redis to store the picture resources of goods. key is the pict ...

Posted by deemurphy on Sun, 01 May 2022 11:37:25 +0300

The latest interview question of Redis in 2022 Chapter 6 - Redis elimination strategy

Hello, I'm walking coding. I'm sorting out the latest interview questions of Redis in 2022. You can also pass my below Blog address online reading Today, I will talk about Chapter 6 - Redis elimination strategy. This article was first published on official account: strolling codingList of latest interview questions of Redis in 2022Redis BasicsR ...

Posted by ted_chou12 on Sat, 30 Apr 2022 23:55:37 +0300

Redis master-slave replication

@ catalogue Nag Environmental preparation configuration information Master slave replication test Practical follow-up Attention Principle of master-slave replication Nag The content of Redis persistence was recorded some time ago review . Now let's talk about the master-slave replication of Redis. Simple ones include one master-slave a ...

Posted by Danno13 on Sat, 30 Apr 2022 16:22:19 +0300

Implement SMS verification code function based on SpringBoot and Redis

I heard that WeChat search for "Java Fish Aberdeen" will become stronger! This article is included in JavaStarter , which contains my complete series of Java articles, you can read it for study or interview. (I. Overview When using various app s or logging in to websites every day, you will basically see the function of SMS veri ...

Posted by strudo on Sat, 30 Apr 2022 10:58:25 +0300

The basic summary of Spring boot ------- Redis

The last time I talked about the basic checksum and unified parameter return. Do you think I will record mybatis in this chapter? ~ Sorry, this chapter records redis. Because now the database part is not done by me, hahaha~ Back to the truth. 5.Redis 5.1 What is Redis and why is it used? Redis is a non-relational database that stores data wi ...

Posted by spxmgb on Sat, 30 Apr 2022 06:50:20 +0300

Redis learning notes

Redis Part I: Linux learning 1. What is NoSQL Baidu Encyclopedia: https://baike.baidu.com/item/NoSQL/8828247?fr=aladdin NoSQL (Not Only SQL) generally refers to non relational databases. Unlike relational databases, they do not guarantee the ACID characteristics of relational data. With the Internet web2.0 With the rise of websites, tra ...

Posted by therainmaker53 on Fri, 29 Apr 2022 22:13:20 +0300

redis slot manually assigned by the original person

Because of the development needs, a 9-node redis cluster is built in the local virtual machine, and the version used is redis 3.2. The redis cluster in the virtual machine has problems due to several forced shutdown of the virtual machine recently. Check the node log and prompt unrecoverable error: broken cluster config file, Searching for onli ...

Posted by methyl_blue on Fri, 29 Apr 2022 14:41:42 +0300

Redis actual combat - 05 Introduction to other redis commands

Publish and subscribe P52 Redis implements the publish/subscribe mode, also known as the pub/sub mode (similar to the observer mode in the design mode). The subscriber is responsible for subscribing to the channel, and the sender is responsible for sending binary string messages to the channel. Every time a message is sent to a given channel, ...

Posted by bailo81 on Wed, 27 Apr 2022 10:37:03 +0300

redis6.0.9 build master-slave copy and sentinel mode

1, Master-slave replication and its principle 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 unidirectional and can only be from master node to Slave node,. Mater is mainly written and Slave is ...

Posted by carnot on Wed, 27 Apr 2022 09:08:43 +0300

[Redis distributed lock] improve this "lock"

Original link: https://www.changxuan.top/?p=1243 In the last article( Easy to use lock )Finally, we found two problems with the current lock: Due to uncontrollable abnormal conditions, the thread holding the lock cannot release the lock, resulting in the lock being held all the time. At present, locks do not support obtaining locks only once i ...

Posted by env3rt on Tue, 26 Apr 2022 13:21:06 +0300