You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
7.5 KiB
Markdown
99 lines
7.5 KiB
Markdown
# Redisson - Valkey & Redis Java client.<br/>Real-Time Data Platform.
|
|
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.redisson/redisson/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.redisson/redisson)
|
|
[![JavaDoc](http://www.javadoc.io/badge/org.redisson/redisson.svg)](http://www.javadoc.io/doc/org.redisson/redisson)
|
|
[![License](http://img.shields.io/:license-apache-brightgreen.svg)](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)
|
|
|
|
High-performance async and lock-free Java client for Redis and Valkey based on [Netty](http://netty.io) framework.
|
|
|
|
|
|
## 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)
|
|
* Amazon Web Services compatible
|
|
* [AWS Elasticache Serverless](https://aws.amazon.com/elasticache/features/#Serverless)
|
|
* [AWS Redis Global Datastore](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html)
|
|
* [AWS ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/WhatIs.html)
|
|
* [Amazon MemoryDB](https://aws.amazon.com/memorydb)
|
|
* Microsoft Azure compatible
|
|
* [Azure Redis Cache](https://azure.microsoft.com/en-us/services/cache/)
|
|
* [Azure Redis Cache active-passive replication](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-geo-replication)
|
|
* [Azure Redis Cache active-active replication](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-active-geo-replication)
|
|
* Google Cloud Memorystore compatible
|
|
* [Google Cloud Redis](https://cloud.google.com/memorystore/docs/redis/)
|
|
* [Google Cloud Redis High availability](https://cloud.google.com/memorystore/docs/redis/high-availability)
|
|
* Redis Enterprise compatible
|
|
* [Redis Enterprise](https://redis.com/redis-enterprise/)
|
|
* [Redis Enterprise Active-Active databases](https://docs.redis.com/latest/rs/databases/active-active/get-started/)
|
|
* [Redis Enterprise Multiple Active Proxy](https://docs.redis.com/latest/rs/databases/configure/proxy-policy/#about-multiple-active-proxy-support)
|
|
* IBM Cloud compatible
|
|
* [IBM Cloud Databases for Redis](https://www.ibm.com/cloud/databases-for-redis)
|
|
* Aiven compatible
|
|
* [Aiven for Redis](https://aiven.io/redis)
|
|
* 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
|
|
|
|
## Comparing solutions
|
|
- [Redisson vs Spring Data Redis](https://redisson.org/articles/feature-comparison-redisson-vs-spring-data-redis.html)
|
|
- [Redisson vs Jedis](https://redisson.org/feature-comparison-redisson-vs-jedis.html)
|
|
- [Redisson vs Lettuce](https://redisson.org/feature-comparison-redisson-vs-lettuce.html)
|
|
- [Redis vs Apache Ignite](https://redisson.org/feature-comparison-redis-vs-ignite.html)
|
|
- [Redis vs Hazelcast](https://redisson.org/feature-comparison-redis-vs-hazelcast.html)
|
|
- [Redis vs Ehcache](https://redisson.org/feature-comparison-redis-vs-ehcache.html)
|
|
|
|
## Success stories
|
|
|
|
- [Moving from Hazelcast to Redis / Datorama](https://engineering.datorama.com/moving-from-hazelcast-to-redis-b90a0769d1cb)
|
|
- [Migrating from Hazelcast to Redis / Halodoc](https://blogs.halodoc.io/why-and-how-we-move-from-hazelcast-to-redis-2/)
|
|
- [Distributed Locking with Redis (Migration from Hazelcast) / ContaAzul](https://carlosbecker.com/posts/distributed-locks-redis/)
|
|
- [Migrating from Coherence to Redis](https://www.youtube.com/watch?v=JF5R2ucKTEg)
|
|
|
|
Upgrade to __[Redisson PRO](https://redisson.pro)__ with **advanced features**.
|