Git Product home page Git Product logo

redis-service's Introduction

redis-service:java spring redis

  • 订阅/发布系统: pubsub;

  • 统一配置管理: disconf;

  • lua脚本实现分布式锁;

  • 缓存应用(连接池,切片连接池,哨兵模式)

附注:哨兵、分片、集群

哨兵模式集群(一主多从):每个节点拥有所有数据,内存限制
|
改进(解决内存问题)
|
分片多主多从:客户端分配key存储。数据分布在多个节点。扩容麻烦(预分片:初期设置预估需要的分片数)。
|
升级(解决扩容问题)
|
3.0集群(数据分散在集群中的库节点上,支持一定的访问性及故障恢复,拥有与单节点同样的性能)(注意不同节点上key的多健命令;只能使用0号数据库,禁select)

哨兵为集群的子集,是用于不需数据分片,或者使用客户端分片的情况。

redis-service's People

Contributors

windwant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.