Use familiar Java data structures with power of Redis.
Based on high-performance async and lock-free Java Redis client and Netty 4 framework.
Redis 2.8+ and JDK 1.6+ compatible.
Please read documentation for more details.
Redisson releases history.
Licensed under the Apache License 2.0.
- AWS ElastiCache servers mode:
- automatic new master server discovery
- automatic new slave servers discovery
- Cluster servers mode:
- automatic master and slave servers discovery
- automatic new master server discovery
- automatic new slave servers discovery
- automatic slave servers offline/online discovery
- automatic slots change discovery
- Sentinel servers mode:
- automatic master and slave servers discovery
- automatic new master server discovery
- automatic new slave servers discovery
- automatic slave servers offline/online discovery
- automatic sentinel servers discovery
- Master with Slave servers mode
- Single server mode
- Distributed implementation of
java.util.BitSet
- Distributed implementation of
java.util.List
- Distributed implementation of
java.util.Set
with TTL support for each entry - Distributed implementation of
java.util.SortedSet
- Distributed implementation of
java.util.Queue
- Distributed implementation of
java.util.concurrent.BlockingQueue
- Distributed implementation of
java.util.Deque
- Distributed implementation of
java.util.concurrent.BlockingDeque
- Distributed implementation of
java.util.Map
with TTL support for each entry - Distributed implementation of
java.util.concurrent.ConcurrentMap
with TTL support for each entry - Distributed implementation of reentrant
java.util.concurrent.locks.Lock
with TTL support - Distributed implementation of reentrant
java.util.concurrent.locks.ReadWriteLock
with TTL support - Distributed alternative to the
java.util.concurrent.atomic.AtomicLong
- Distributed alternative to the
java.util.concurrent.CountDownLatch
- Distributed alternative to the
java.util.concurrent.Semaphore
- Distributed publish/subscribe messaging via
org.redisson.core.RTopic
- Distributed HyperLogLog via
org.redisson.core.RHyperLogLog
- Asynchronous interface for each object
- Asynchronous connection pool
- Thread-safe implementation
- All commands executes in an atomic way
- Lua scripting
- Spring cache integration
- Supports Reactive Streams
- Supports Redis pipelining (command batches)
- Supports Remote services
- Supports Android platform
- Supports auto-reconnect
- Supports failed to send command auto-retry
- Supports OSGi
- Supports many popular codecs (Jackson JSON, Avro, Smile, CBOR, MsgPack, Kryo, FST, LZ4, Snappy and JDK Serialization)
- With over 500 unit tests
Setronica, Monits, Brookhaven National Laboratory, [Netflix Dyno client] (https://github.com/Netflix/dyno), 武林Q传, Ocous, Invaluable, Clover , Apache Karaf Decanter, Atmosphere Framework
Include the following to your dependency list:
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>2.2.24</version>
</dependency>
compile 'org.redisson:redisson:2.2.24'
YourKit is kindly supporting this open source project with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.