Redisson - Valkey & Redis Java client.
Real-Time Data Platform.
Quick start | Documentation | Changelog | Code examples | Report an issue
High-performance async and lock-free Java client for Redis and Valkey based on Netty framework.
Features
- Thread-safe implementation
- JDK 1.8+ up to the latest version compatible
- Android compatible
- Redis compatible - from 3.0 up to the latest version
- Valkey compatible - from 7.2.5 up to the latest version
- Supported deployment types
- Proxy
- Multi-Cluster
- Multi-Sentinel
- Single
- Cluster
- Sentinel
- Replicated
- Master and Slaves
- Amazon Web Services compatible
- AWS Elasticache Serverless
- AWS Redis Global Datastore
- AWS ElastiCache
- Amazon MemoryDB
- Microsoft Azure compatible
- Azure Redis Cache
- Azure Redis Cache active-passive replication
- Azure Redis Cache active-active replication
- Google Cloud Memorystore compatible
- Google Cloud Redis
- Google Cloud Redis High availability
- Redis Enterprise compatible
- Redis Enterprise
- Redis Enterprise Active-Active databases
- Redis Enterprise Multiple Active Proxy
- IBM Cloud compatible
- IBM Cloud Databases for Redis
- Aiven compatible
- Supports auto-reconnection
- Supports failed to send command auto-retry
- Supports OSGi
- Supports SSL
- Asynchronous connection pool
- Lua scripting
- RediSearch
- JSON datatype
- JSON Store
- Reactive Streams API
- RxJava3 API
- Asynchronous API
- Local cache support including Caffeine-based implementation
- Cache API implementations
Spring Cache, JCache API (JSR-107), Hibernate Cache, MyBatis Cache, Quarkus Cache, Micronaut Cache
- Distributed Java objects
Object holder, JSON holder, Binary stream holder, Geospatial holder, BitSet, PublishSubscribe, Bloom filter, HyperLogLog
- Distributed Java counters
AtomicLong, AtomicDouble, LongAdder, DoubleAdder
- Distributed Java collections
JSON Store, Map, Multimap, Set, List, SortedSet, ScoredSortedSet, LexSortedSet, Queue, Deque, Blocking Queue, Bounded Blocking Queue, Blocking Deque, Delayed Queue, Priority Queue, Priority Deque
- Distributed Java locks and synchronizers
Lock, FairLock, MultiLock, RedLock, ReadWriteLock, Semaphore, PermitExpirableSemaphore, CountDownLatch
- Distributed services
Remote service, Live Object service, Executor service, Scheduler service, MapReduce service
- Microservices integration
Helidon, Micronaut, Quarkus
- Integration with Spring framework
Spring Boot Starter, Spring Cache, Spring Session, Spring Transaction Manager, Spring Cloud Stream, Spring Data Redis
- Web Session Management
Apache Tomcat Session, Spring Session, Micronaut Session
- Transactions API
- Redis pipelining (command batches)
- Supports many popular codecs (Kryo, Jackson JSON, Avro, Smile, CBOR, MsgPack, Amazon Ion, LZ4, Snappy, Protobuf and JDK Serialization)
- 2000+ unit tests
Comparing solutions
- Redisson vs Spring Data Redis
- Redisson vs Jedis
- Redisson vs Lettuce
- Redis vs Apache Ignite
- Redis vs Hazelcast
- Redis vs Ehcache
Success stories
- Moving from Hazelcast to Redis / Datorama
- Migrating from Hazelcast to Redis / Halodoc
- Distributed Locking with Redis (Migration from Hazelcast) / ContaAzul
- Migrating from Coherence to Redis
Upgrade to Redisson PRO with advanced features.