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

100 lines
5.2 KiB
Markdown

9 years ago
Redis based In-Memory Data Grid for Java. Redisson.
9 years ago
====
9 years ago
9 years ago
[![Maven Central](https://img.shields.io/maven-central/v/org.redisson/redisson.svg?style=flat-square)](https://maven-badges.herokuapp.com/maven-central/org.redisson/redisson/)
11 years ago
Use familiar Java data structures with power of [Redis](http://redis.io).
10 years ago
Based on high-performance async and lock-free Java Redis client and [Netty 4](http://netty.io) framework.
9 years ago
Redis 2.8+ and JDK 1.6+ compatible.
11 years ago
11 years ago
9 years ago
Please read [documentation](https://github.com/mrniko/redisson/wiki) for more details.
9 years ago
Redisson [releases history](https://github.com/mrniko/redisson/blob/master/CHANGELOG.md).
11 years ago
11 years ago
Licensed under the Apache License 2.0.
9 years ago
Welcome to support chat - [![Join the chat at https://gitter.im/mrniko/redisson](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mrniko/redisson?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11 years ago
9 years ago
##Please take part in [Redisson survey](https://ru.surveymonkey.com/r/LP7RG8Q)
9 years ago
####Try [Redisson PRO](http://redisson.pro) edition
9 years ago
11 years ago
Features
================================
9 years ago
* [AWS ElastiCache](https://aws.amazon.com/elasticache/) servers mode:
1. automatic new master server discovery
2. automatic new slave servers discovery
10 years ago
* Cluster servers mode:
9 years ago
1. automatic master and slave servers discovery
10 years ago
2. automatic new master server discovery
9 years ago
3. automatic new slave servers discovery
9 years ago
4. automatic slave servers offline/online discovery
5. automatic slots change discovery
11 years ago
* Sentinel servers mode:
11 years ago
1. automatic master and slave servers discovery
2. automatic new master server discovery
3. automatic new slave servers discovery
10 years ago
4. automatic slave servers offline/online discovery
5. automatic sentinel servers discovery
11 years ago
* Master with Slave servers mode: read data using slave servers, write data using master server
11 years ago
* Single server mode: read and write data using single server
10 years ago
* Lua scripting
9 years ago
* Distributed implementation of `java.util.BitSet`
11 years ago
* Distributed implementation of `java.util.List`
9 years ago
* Distributed implementation of `java.util.Set` with TTL support for each entry
11 years ago
* Distributed implementation of `java.util.SortedSet`
11 years ago
* Distributed implementation of `java.util.Queue`
10 years ago
* Distributed implementation of `java.util.concurrent.BlockingQueue`
11 years ago
* Distributed implementation of `java.util.Deque`
9 years ago
* Distributed implementation of `java.util.concurrent.BlockingDeque`
9 years ago
* Distributed implementation of `java.util.Map` with TTL support for each entry
9 years ago
* Distributed implementation of `java.util.concurrent.ConcurrentMap` with TTL support for each entry
11 years ago
* Distributed implementation of reentrant `java.util.concurrent.locks.Lock` with TTL support
9 years ago
* Distributed implementation of reentrant `java.util.concurrent.locks.ReadWriteLock` with TTL support
11 years ago
* Distributed alternative to the `java.util.concurrent.atomic.AtomicLong`
* Distributed alternative to the `java.util.concurrent.CountDownLatch`
9 years ago
* Distributed alternative to the `java.util.concurrent.Semaphore`
11 years ago
* Distributed publish/subscribe messaging via `org.redisson.core.RTopic`
* Distributed HyperLogLog via `org.redisson.core.RHyperLogLog`
9 years ago
* Asynchronous interface for each object
9 years ago
* Asynchronous connection pool
10 years ago
* Thread-safe implementation
9 years ago
* All commands executes in an atomic way
9 years ago
* [Spring cache](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html) integration
9 years ago
* Supports [Reactive Streams](http://www.reactive-streams.org)
9 years ago
* Supports [Redis pipelining](http://redis.io/topics/pipelining) (command batches)
9 years ago
* Supports [Remote services](https://github.com/mrniko/redisson/wiki/6.-distributed-objects#69-remote-service)
9 years ago
* Supports Android platform
9 years ago
* Supports auto-reconnect
9 years ago
* Supports failed to send command auto-retry
11 years ago
* Supports OSGi
9 years ago
* Supports many popular codecs ([Jackson JSON](https://github.com/FasterXML/jackson), [CBOR](http://cbor.io/), [MsgPack](http://msgpack.org/), [Kryo](https://github.com/EsotericSoftware/kryo), [FST](https://github.com/RuedigerMoeller/fast-serialization), [LZ4](https://github.com/jpountz/lz4-java), [Snappy](https://github.com/xerial/snappy-java) and JDK Serialization)
9 years ago
* With over 500 unit tests
11 years ago
10 years ago
Projects using Redisson
================================
9 years ago
[Setronica](http://setronica.com/), [Monits](http://monits.com/), [Brookhaven National Laboratory](http://bnl.gov/), [Netflix Dyno client] (https://github.com/Netflix/dyno), [武林Q传](http://www.nbrpg.com/), [Ocous](http://www.ocous.com/), [Invaluable](http://www.invaluable.com/), [Clover](https://www.clover.com/)
10 years ago
11 years ago
### Maven
Include the following to your dependency list:
11 years ago
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
9 years ago
<version>2.2.21</version>
11 years ago
</dependency>
10 years ago
10 years ago
### Gradle
9 years ago
compile 'org.redisson:redisson:2.2.21'
10 years ago
10 years ago
### Supported by
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:
<a href="http://www.yourkit.com/java/profiler/index.jsp">YourKit Java Profiler</a> and
<a href="http://www.yourkit.com/.net/profiler/index.jsp">YourKit .NET Profiler</a>.