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.
redisson/README.md

98 lines
7.4 KiB
Markdown

3 months ago
# Redisson - Valkey & Redis Java client<br/>Complete Real-Time Data Platform
4 years ago
[![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)
6 years ago
4 months ago
[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)
9 years ago
4 months ago
High-performance async and lock-free Java client for Redis and Valkey based on [Netty](http://netty.io) framework.
9 months ago
9 years ago
6 years ago
## Features
9 months ago
* Thread-safe implementation
5 months ago
* JDK 1.8+ up to the latest version compatible
7 months ago
* Android compatible
6 months ago
* [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
9 months ago
* Supported deployment types
4 months ago
* [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)
2 years ago
* Amazon Web Services compatible
9 months ago
* [AWS Elasticache Serverless](https://aws.amazon.com/elasticache/features/#Serverless)
2 years ago
* [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)
2 years ago
* Microsoft Azure compatible
2 years ago
* [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)
2 years ago
* [Azure Redis Cache active-active replication](https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-active-geo-replication)
2 years ago
* Google Cloud Memorystore compatible
2 years ago
* [Google Cloud Redis](https://cloud.google.com/memorystore/docs/redis/)
* [Google Cloud Redis High availability](https://cloud.google.com/memorystore/docs/redis/high-availability)
2 years ago
* Redis Enterprise compatible
2 years ago
* [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)
2 years ago
* IBM Cloud compatible
* [IBM Cloud Databases for Redis](https://www.ibm.com/cloud/databases-for-redis)
2 years ago
* Aiven compatible
* [Aiven for Redis](https://aiven.io/redis)
2 years ago
* Supports auto-reconnection
* Supports failed to send command auto-retry
* Supports OSGi
* Supports SSL
* Asynchronous connection pool
* Lua scripting
4 months ago
* [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
5 years ago
* Local cache support including [Caffeine](https://github.com/ben-manes/caffeine)-based implementation
4 months ago
* [Cache API implementations](https://redisson.org/docs/cache-api-implementations)
4 months ago
Spring Cache, JCache API (JSR-107), Hibernate Cache, MyBatis Cache, Quarkus Cache, Micronaut Cache
4 months ago
* [Distributed Java objects](https://redisson.org/docs/data-and-services/objects)
4 months ago
Object holder, JSON holder, Binary stream holder, Geospatial holder, BitSet, PublishSubscribe, Bloom filter, HyperLogLog
4 months ago
* [Distributed Java counters](https://redisson.org/docs/data-and-services/counters)
4 months ago
AtomicLong, AtomicDouble, LongAdder, DoubleAdder
4 months ago
* [Distributed Java collections](https://redisson.org/docs/data-and-services/collections)
4 months ago
JSON Store, Map, Multimap, Set, List, SortedSet, ScoredSortedSet, LexSortedSet, Queue, Deque, Blocking Queue, Bounded Blocking Queue, Blocking Deque, Delayed Queue, Priority Queue, Priority Deque
4 months ago
* [Distributed Java locks and synchronizers](https://redisson.org/docs/data-and-services/locks-and-synchronizers)
8 years ago
Lock, FairLock, MultiLock, RedLock, ReadWriteLock, Semaphore, PermitExpirableSemaphore, CountDownLatch
4 months ago
* [Distributed services](https://redisson.org/docs/data-and-services/services)
8 years ago
Remote service, Live Object service, Executor service, Scheduler service, MapReduce service
4 months ago
* [Microservices integration](https://redisson.org/docs/microservices-integration)
4 months ago
Helidon, Micronaut, Quarkus
4 months ago
* [Integration with Spring framework](https://redisson.org/docs/integration-with-spring)
4 months ago
Spring Boot Starter, Spring Cache, Spring Session, Spring Transaction Manager, Spring Cloud Stream, Spring Data Redis
4 months ago
* [Web Session Management](https://redisson.org/docs/web-session-management)
4 months ago
Apache Tomcat Session, Spring Session, Micronaut Session
4 months ago
* [Transactions API](https://redisson.org/docs/transactions)
* [Redis pipelining](https://redisson.org/docs/pipelining) (command batches)
11 months ago
* 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)
11 months ago
* 2000+ unit tests
7 years ago
1 year ago
## Comparing solutions
4 months ago
- [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)
1 year ago
6 years ago
## Success stories
8 years ago
4 months ago
- [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)
3 months ago
Upgrade to __[Redisson PRO](https://redisson.pro)__ with **advanced features**.