1. Introduction to Redisson
Redisson is a Java in-memory data grid (In-Memory Data Grid) built on the basis of Redis. Based on the NIO-based Netty framework, Redisson makes full use of a series of advantages provided by the Redis key-value database. Based on the common interfaces in the Java utility toolkit, Redisson provides users with a series of common tool classes with distributed characteristics. . This enables the toolkit originally used to coordinate single-machine multi-thread concurrent programs to obtain the ability to coordinate distributed multi-machine multi-thread concurrent systems, greatly reducing the difficulty of designing and developing large-scale distributed systems. At the same time, combined with various distributed services with rich characteristics, it further simplifies the cooperation between programs in a distributed environment.
2. Features of Redisson
-
Supports cloud hosting service model (supports Amazon Cloud's ElastiCache Redis and Microsoft Cloud's Azure Redis Cache):
- Automatically discover master node changes
-
Supports Redis cluster mode (supports Amazon Cloud's ElastiCache Redis Cluster and Microsoft Cloud's Azure Redis Cache):
-
Automatically discover master and slave nodes
-
Automatic update of status and configuration topology
-
Automatic discovery of slot changes
-
-
Support Redis sentinel mode:
-
Automatic discovery of master, slave and sentinel nodes
-
Automatic update of status and configuration topology
-
-
Support Redis master-slave mode
-
Support Redis single section mode
-
Multi-node mode supports read-write separation: slave read master write, master read master write, master-slave mixed read master write
-
all objects and