https://github.com/redisson/redisson
Redisson - Valkey and Redis Java client. Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Valkey and Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache..
https://github.com/redisson/redisson
cache distributed distributed-locks executor hibernate java json lock map micronaut quarkus queue redis redis-client scheduler session spring tomcat valkey valkey-client
Last synced: 7 days ago
JSON representation
Redisson - Valkey and Redis Java client. Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Valkey and Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache..
- Host: GitHub
- URL: https://github.com/redisson/redisson
- Owner: redisson
- License: apache-2.0
- Created: 2014-01-11T14:06:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T07:21:59.000Z (14 days ago)
- Last Synced: 2025-03-31T15:06:59.078Z (14 days ago)
- Topics: cache, distributed, distributed-locks, executor, hibernate, java, json, lock, map, micronaut, quarkus, queue, redis, redis-client, scheduler, session, spring, tomcat, valkey, valkey-client
- Language: Java
- Homepage: https://redisson.pro
- Size: 29.2 MB
- Stars: 23,700
- Watchers: 872
- Forks: 5,425
- Open Issues: 302
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-java - Redisson - Allows for distributed and scalable data structures on top of a Redis server. (Projects / Database)
- awesome-java - redisson - Redis Java client with features of In-Memory Data Grid. Supports over 30 objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, RPC. [Introduction to the Redisson project](https://github.com/redisson/redisson/wiki/Redisson%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D). (Tool / Database)
- awesome-java-zh - Redisson - 允许在Redis服务器上使用分布式和可扩展的数据结构。 (项目 / 数据库)
- awesome-java - Redisson - Allows for distributed and scalable data structures on top of a Redis server. (Projects / Database)
- StarryDivineSky - redisson/redisson
README
# Redisson - Valkey & Redis Java client.
Real-Time Data Platform.
[](https://maven-badges.herokuapp.com/maven-central/org.redisson/redisson)
[](http://www.javadoc.io/doc/org.redisson/redisson)
[](http://www.apache.org/licenses/LICENSE-2.0.html)[Quick start](https://redisson.org/docs/getting-started/) | [Documentation](https://redisson.org/docs/) | [Changelog](https://github.com/redisson/redisson/blob/master/CHANGELOG.md) | [Code examples](https://github.com/redisson/redisson-examples) | [Report an issue](https://github.com/redisson/redisson/issues/new)
Redisson is the Java Client and Real-Time Data Platform for Valkey and Redis. Providing the most convenient and easiest way to work with Valkey or Redis. Redisson objects provide an abstraction layer between Valkey or Redis and your Java code, which allowing maintain focus on data modeling and application logic.
Redisson greatly extends the capabilities of Valkey and Redis by providing additional services and data structures not natively available in either platform. This enhancement includes distributed Java collections, objects, and service implementations, which significantly reduce the learning curve for Java developers working with key-value databases.
## Features
* Thread-safe implementation
* JDK 1.8+ up to the latest version compatible
* Android compatible
* [Redis](https://redis.io) compatible - from 3.0 up to the latest version
* [Valkey](https://valkey.io) compatible - from 7.2.5 up to the latest version
* Supported deployment types
* [Proxy](https://redisson.org/docs/configuration/#proxy-mode)
* [Multi-Cluster](https://redisson.org/docs/configuration/#multi-cluster-mode)
* [Multi-Sentinel](https://redisson.org/docs/configuration/#multi-sentinel-mode)
* [Single](https://redisson.org/docs/configuration/#single-mode)
* [Cluster](https://redisson.org/docs/configuration/#cluster-mode)
* [Sentinel](https://redisson.org/docs/configuration/#sentinel-mode)
* [Replicated](https://redisson.org/docs/configuration/#replicated-mode)
* [Master and Slaves](https://redisson.org/docs/configuration/#master-slave-mode)
* Supports auto-reconnection
* Supports failed to send command auto-retry
* Supports OSGi
* Supports SSL
* Asynchronous connection pool
* Lua scripting
* [RediSearch](https://redisson.org/docs/data-and-services/services/#redisearch-service)
* [JSON datatype](https://redisson.org/docs/data-and-services/objects/#json-object-holder)
* [JSON Store](https://redisson.org/docs/data-and-services/collections/#json-store)
* [Reactive Streams](https://redisson.org/docs/api-models/#reactive-api) API
* [RxJava3](https://redisson.org/docs/api-models/#rxjava-api) API
* [Asynchronous](https://redisson.org/docs/api-models/#synchronous-and-asynchronous-api) API
* Local cache support including [Caffeine](https://github.com/ben-manes/caffeine)-based implementation
* [Cache API implementations](https://redisson.org/docs/cache-api-implementations)
Spring Cache, JCache API (JSR-107), Hibernate Cache, MyBatis Cache, Quarkus Cache, Micronaut Cache
* [Distributed Java objects](https://redisson.org/docs/data-and-services/objects)
Object holder, JSON holder, Binary stream holder, Geospatial holder, BitSet, PublishSubscribe, Bloom filter, HyperLogLog
* [Distributed Java counters](https://redisson.org/docs/data-and-services/counters)
AtomicLong, AtomicDouble, LongAdder, DoubleAdder
* [Distributed Java collections](https://redisson.org/docs/data-and-services/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](https://redisson.org/docs/data-and-services/locks-and-synchronizers)
Lock, FairLock, MultiLock, RedLock, ReadWriteLock, Semaphore, PermitExpirableSemaphore, CountDownLatch
* [Distributed services](https://redisson.org/docs/data-and-services/services)
Remote service, Live Object service, Executor service, Scheduler service, MapReduce service
* [Microservices integration](https://redisson.org/docs/microservices-integration)
Helidon, Micronaut, Quarkus
* [Integration with Spring framework](https://redisson.org/docs/integration-with-spring)
Spring Boot Starter, Spring Cache, Spring Session, Spring Transaction Manager, Spring Cloud Stream, Spring Data Redis
* [Web Session Management](https://redisson.org/docs/web-session-management)
Apache Tomcat Session, Spring Session, Micronaut Session
* [Transactions API](https://redisson.org/docs/transactions)
* [Redis pipelining](https://redisson.org/docs/pipelining) (command batches)
* Supports many popular codecs ([Kryo](https://github.com/EsotericSoftware/kryo), [Jackson JSON](https://github.com/FasterXML/jackson), [Avro](http://avro.apache.org/), [Smile](http://wiki.fasterxml.com/SmileFormatSpec), [CBOR](http://cbor.io/), [MsgPack](http://msgpack.org/), [Amazon Ion](https://amzn.github.io/ion-docs/), [LZ4](https://github.com/jpountz/lz4-java), [Snappy](https://github.com/xerial/snappy-java), [Protobuf](https://github.com/protocolbuffers/protobuf) and JDK Serialization)
* 2000+ unit tests## [Redisson PRO vs. Community Edition ➜](https://redisson.pro/feature-comparison.html)