您的位置:首页 > 数据库 > Redis

基于Redis的分布式框架Redisson

2016-03-17 11:43 656 查看


Redisson轻松实现分布式集合,分布式锁。

Redisson 是基于Redis服务之上构建的分布式、可伸缩的Java数据结构,高级的Redis客户端。

Redisson 是使用熟悉的Java数据结构来发挥Redis的威力,基于lettuce Redis客户端和Netty 4。


Features

AWS ElastiCache servers mode:
automatic new master server discovery
automatic new slave servers discovery

Cluster servers mode:
automatic master and slave servers discovery
automatic new master server discovery
automatic new slave servers discovery
automatic slave servers offline/online discovery
automatic slots change discovery

Sentinel servers mode:
automatic master and slave servers discovery
automatic new master server discovery
automatic new slave servers discovery
automatic slave servers offline/online discovery

automatic sentinel servers discovery

Master with Slave servers mode: read data using slave servers, write data using master server
Single server mode: read and write data using single server
Lua scripting

Distributed implementation of 
java.util.BitSet


Distributed implementation of 
java.util.List


Distributed implementation of 
java.util.Set
 with TTL support for each entry
Distributed implementation of 
java.util.SortedSet


Distributed implementation of 
java.util.Queue


Distributed implementation of 
java.util.concurrent.BlockingQueue


Distributed implementation of 
java.util.Deque


Distributed implementation of 
java.util.concurrent.BlockingDeque


Distributed implementation of 
java.util.Map
 with TTL support for each entry
Distributed implementation of 
java.util.concurrent.ConcurrentMap
 with TTL support for each entry
Distributed implementation of reentrant 
java.util.concurrent.locks.Lock
 with TTL support

Distributed implementation of reentrant 
java.util.concurrent.locks.ReadWriteLock
 with TTL support

Distributed alternative to the 
java.util.concurrent.atomic.AtomicLong


Distributed alternative to the 
java.util.concurrent.CountDownLatch


Distributed alternative to the 
java.util.concurrent.Semaphore


Distributed publish/subscribe messaging via 
org.redisson.core.RTopic


Distributed HyperLogLog via 
org.redisson.core.RHyperLogLog


Asynchronous interface for each object

Asynchronous connection pool

Thread-safe implementation

All commands executes in an atomic way

Spring cache integration

Supports Reactive Streams
Supports Redis pipelining (command batches)

Supports Android platform

Supports auto-reconnect

Supports failed to send command auto-retry

Supports OSGi

Supports many popular codecs (Jackson JSONCBORMsgPackKryoFSTLZ4Snappy and
JDK Serialization)
With over 500 unit tests
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: