This article introduces the Redis Cluster cluster, and briefly introduces the implementation of the cluster. It is mainly a specific practical part: cluster startup, failover, adding nodes, removing nodes
Basic concepts of Redis cluster
Redis's cluster mode provides data fragmentation and ensures the availability of each partition. Each node of ...
Added by jdorsch on Thu, 25 Jun 2020 14:10:22 +0300
This project is a Spring boot project
Redis Cutting Programming
Target: Add a comment to the method to cache when querying
Method: Custom Note+AOP Section Programming
Say nothing but go directly to the code demonstration
Added by Bad HAL 9000 on Tue, 23 Jun 2020 05:27:47 +0300
Dockerfile introduces and commonly used instructions, including FROM, RUN, COPY, ADD, EXPOSE, WORKDIR, etc. in fact, dockerfile has powerful functions and provides more than ten instructions.
Dockerfile is a text file used to build an image. The text content contains instructions and instructions required to build an image. ...
Added by programguru on Sun, 21 Jun 2020 11:49:45 +0300
Java back end interface and Vue front end
1. See the effect first
publish an article
Java back end interface development:
Using springboot+mybaitsPlus+shiro+jwt+lombok+redis; database mysql5.7+
Here, we use IDEA to develop the background interface. It's easy to create a ...
Added by sergio-pro on Sat, 20 Jun 2020 10:11:20 +0300
Various key operations
rpush rpop lpop lpush
lindex lrange ltrim llen
Added by ralba1998 on Thu, 18 Jun 2020 06:11:24 +0300
What is a distributed lock?
In a JVM, where multiple threads are concurrent, we can use synchronous or Lock locks to ensure that only one thread can modify shared variables or execute code blocks at a time.However, our services are deployed on a distributed cluster basis, and for some shared resources, the use of Java locks in a distributed en ...
Added by gersh on Wed, 17 Jun 2020 19:51:19 +0300
Use Redis command action
Working with Java code
The Principle and Feature of HyperLog Implementation
Implement HyperLog using Java
Web site UV refers to the amount of Unique Visitor visited by independent users of a Web site, that ...
Added by BlueSkyIS on Tue, 16 Jun 2020 03:56:18 +0300
1. Distributed Lock Implementation
2. Distributed Lock Using redis
Problems in the redis cluster state:
Solving distributed locks using redisson
1. Import dependent service-util
2. Configure redisson
Added by dev99 on Wed, 10 Jun 2020 19:17:31 +0300
In general, in order to solve a single point of failure, web applications in the production environment will be deployed on multiple platforms, so there will be a problem. When we log in, we will store the login information in the session. If we rely on the session in the native web con ...
Added by mouloud2001 on Tue, 09 Jun 2020 05:20:25 +0300
RedisLock -- make Redis distributed lock simple
1. Project introduction
2. Fast use
2.1 introducing maven coordinates
2.2 register RedisLock
3. Participation and contribution
4. Contact the author
5. Open source protocol
1. Project introduction
This project mainly simplifies the operation of redis distributed transact ...
Added by work_it_work on Sat, 06 Jun 2020 05:57:21 +0300