基于Redis服務器的分布式Java數據結構實現:Redisson

jopen 10年前發布 | 38K 次閱讀 Redisson Redis NoSQL數據庫

Redisson - 提供基于Redis服務器構建的分布式和可擴展的Java數據結構(Set, SortedSet, Map, ConcurrentMap, List, Queue, Deque, Lock, AtomicLong, CountDownLatch, Publish / Subscribe, HyperLogLog) 。它也是一個高級Redis Java客戶端。

Redisson 是使用熟悉的Java數據結構來發揮Redis的威力,基于lettuce Redis客戶端和Netty 4 ,兼容 Redis 2.6+ and JDK 1.6+,使用Apache License 2.0授權協議,閱讀 wiki 來獲取更多使用信息

特性

  • Sentinel servers mode:
    1. automatic master and slave servers discovery
    2. automatic new master server discovery
    3. automatic new slave servers discovery
    4. automatic slave servers offline/online discovery
    5. read data using slave servers, write data using master server
  • 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
  • Distributed implementation of java.util.List
  • Distributed implementation of java.util.Set
  • Distributed implementation of java.util.SortedSet
  • Distributed implementation of java.util.Queue
  • Distributed implementation of java.util.Deque
  • Distributed implementation of java.util.Map
  • Distributed implementation of java.util.concurrent.ConcurrentMap
  • Distributed implementation of reentrant java.util.concurrent.locks.Lock with TTL support
  • Distributed alternative to the java.util.concurrent.atomic.AtomicLong
  • Distributed alternative to the java.util.concurrent.CountDownLatch
  • Distributed publish/subscribe messaging via org.redisson.core.RTopic
  • Distributed HyperLogLog via org.redisson.core.RHyperLogLog
  • Thread-safe implementation
  • Supports OSGi
  • With over 110 unit tests

項目主頁:http://www.baiduhome.net/lib/view/home/1407681608864

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!