Redisson is a Java client for Valkey and Redis with synchronous, asynchronous, reactive, and RxJava APIs. It adds distributed collections, locks, queues, caching helpers, and related services on top of standard Valkey or Redis deployments.
Overview
Redisson is a Java library that connects applications to Valkey or Redis while exposing higher-level APIs than raw commands. It targets JDK 8 and newer, including Android, and supports common deployment patterns such as single instances, clusters, sentinels, replication, and proxies.
The client wraps Valkey and Redis with thread-safe distributed objects and services: maps, sets, lists, queues, locks, semaphores, atomic counters, bloom filters, pub/sub topics, schedulers, executors, and map-reduce style processing. It also offers local caching, pipelining, Lua scripting, SSL, auto-reconnection, and retry behavior for failed commands.
Framework integrations include Spring Boot, Spring Cache, Spring Session, Spring Data Redis, Hibernate cache, JCache, MyBatis, Quarkus, Micronaut, Helidon, and Tomcat session storage. Cache, transaction, JMS-style messaging, and remote service APIs let Java apps use Valkey or Redis as a shared data and coordination layer.
Compared with lower-level Redis clients, Redisson emphasizes a unified object model so application code avoids protocol details. Documentation and migration material position it alongside Spring Data Redis, Jedis, and Lettuce for teams that want built-in distributed data structures and services.
Key features
- Synchronous, async, reactive, and RxJava APIs
- Distributed maps, sets, lists, and queues
- Locks, semaphores, and synchronizers
- Spring, Hibernate, and JCache integrations
- Reliable queues and pub/sub messaging
- Scheduler and executor services
- Local cache and pipelining support
- Multiple Valkey and Redis topology modes
Use cases
- Distributed caching for Java applications
- Coordination with distributed locks
- Web session clustering across nodes
- Pub/sub and stream-style messaging
- Scaling microservices with shared Redis data