Skip to content

Repository files navigation

Redisson: Redis based In-Memory Data Grid for Java.
State of the Art Redis client

Quick start | Documentation | Javadocs | Changelog | Code examples | FAQs | Report an issue | Redisson PRO

Based on high-performance async and lock-free Java Redis client and Netty framework.

Stable
Release Version
Release DateJDK Version
compatibility
CompletionStage
support
ProjectReactor version
compatibility
3.9.031.10.20181.8 - 11Yes3.x.x
2.14.031.10.20181.6 - 11, AndroidNo2.0.8

Features

Used by

SiemensBMW GROUPAIGS&P GlobalSAPEAAdobe

JeppesenBROOKHAVENNew Relic SyntheticsNetflixPersonal Capital

SingtelBaiduInforCrimson HexagonContaAzul马蜂窝

DatoramaTicketmasterNABJuniper火币

AlibabaFlipkartInvaluableBBK
SULAKE

Logos, product names and all other trademarks displayed on this page belong to their respective holders and used for identification purposes only. Use of these trademarks, names and brands does not imply endorsement.

Success stories

Quick start

Maven

<!-- JDK 1.8+ compatible -->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>3.9.0</version>
</dependency> <!-- JDK 1.6+ compatible -->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>2.14.0</version>
</dependency>

Gradle

// JDK 1.8+ compatible
compile 'org.redisson:redisson:3.9.0' // JDK 1.6+ compatible
compile 'org.redisson:redisson:2.14.0'

Java

// 1. Create config objectConfig = ...
// 2. Create Redisson instanceRedissonClientredisson = Redisson.create(config);
// 3. Get object you needRMap<MyKey, MyValue> map = redisson.getMap("myMap");
RLocklock = redisson.getLock("myLock");
RExecutorServiceexecutor = redisson.getExecutorService("myExecutorService");
// over 30 different objects and services ...

Please consider Redisson PRO version for advanced features and support by SLA.

Downloads

Redisson 3.9.0, Redisson node 3.9.0

Redisson 2.14.0, Redisson node 2.14.0

FAQs

Q: I saw a RedisTimeOutException, What does it mean? What shall I do? Can Redisson Team fix it?

Q: I saw a com.fasterxml.jackson.databind.JsonMappingException during deserialization process, can you fix it?

Q: There were too many quotes appeared in the redis-cli console output, how do I fix it?

Q: When do I need to shut down a Redisson instance, at the end of each request or the end of the life of a thread?

Q: In MapCache/SetCache/SpringCache/JCache, I have set an expiry time to an entry, why is it still there when it should be disappeared?

Q: How can I perform Pipelining/Transaction through Redisson?

Q: Is Redisson thread safe? Can I share an instance of it between different threads?

Q: Can I use different encoder/decoders for different tasks?

About

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server. State of the Art Redis client

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages