Redis learning notes: redis master-slave replication, sentinel mechanism, cluster and spring boot integrate redis cluster to realize distributed session management

The content of the notes comes from the video of the up master who is a poor programmer in station B The content of the article is relatively long. If you need a small partner, you can jump to the specified location according to the directory The notes refer to many big guys' articles. Thank you here 1. Basic knowledge 1. Memory based key v ...

Posted by alcoholic1 on Sat, 07 May 2022 05:03:47 +0300

Docker installs Redis, and Spring Boot uses Redis to solve the type conversion exceptions in Redis

Dock installs Redis (if installed, please skip this step) 1. Pull Redis image (latest version by default) docker pull redis If the download is slow, it is recommended to configure alicloud image View alicloud image: alicloud official website -- > products -- > search container image service -- > management console ‚Äč Mirror accelerator ...

Posted by asuperstar103 on Fri, 06 May 2022 23:50:35 +0300

Detailed explanation of Redis related commands and their principles: Redis basic operations, data structures and applications

How to learn redis? Learn what redis isHow to use redis, how to operate the data structure in redisTypical applications and operationsRead the redis source code 1. Redis Redis is the abbreviation of Remote Dictionary Service; it is also a remote dictionary service; Redis is an in-memory database, KV database, data structure database; Red ...

Posted by cryp7 on Thu, 05 May 2022 16:53:18 +0300

redis Basics - bloom filter

Bloom filter In 1970, an elder named bloom studied the problem of judging whether elements in massive elements exist, that is, how much bitmap capacity and how many hash functions are needed. It published a paper and proposed this container as Bloom filter. working principle First, the essence of Bloom filter is a bit array an ...

Posted by Joe689 on Thu, 05 May 2022 04:12:51 +0300

redisTemplate distributed lock evolution, redismission distributed lock implementation!

Evolution of distributed locks Basic principles We can go to one place to "occupy the pit" at the same time. If we occupy it, we will execute logic. Otherwise, you must wait until the lock is released. "Zhankeng" can go to redis, database and any place that everyone can access. Wait for the way you can spin. Phase I pub ...

Posted by jamesm6162 on Wed, 04 May 2022 03:31:36 +0300

[collection not recommended] Redis learning notes

Redis cache database foundation summary Redis, remote dictionary service. What can you do? Data persistence: RDB, OF High efficiency, cache Publish subscribe system Map information analysis Timer, page views ... characteristic Diverse data types Persistence affair colony ... Things needed in learning Redis official website: http ...

Posted by Studio381 on Sun, 01 May 2022 22:29:16 +0300

. NET redis client open source component FreeRedis (rewritten after CSRedisCore)

1 | 0 what is FreeRedis FreeRedis is a NET redis client open source component, which is open source hosted in github with MIT protocol, is currently supported NET 5,. NETCore 2.1+,. Net framework 4.0 + and Xamarin may already support AOT compilation (currently not tested, but will go in this direction). FreeRedis will do a good job in unit ...

Posted by mizz key_me on Sun, 01 May 2022 19:37:35 +0300

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