Git Product home page Git Product logo

johnwick's Introduction

john-wick

john-wick是一款服务发现框架(--取自电影<<疾速追杀>> "Wherever you are, I will find you, I will kill you")

what does it do

模式切换

相当于与eureka和nacos等注册中心相比,wick对于节点的同步有多种主题模式:

  • sql模式
    相比于nacos的raft算法实现节点同步,wick提供了基于mysql同步节点状态的方式,相比较而言实现更加的简单高效,对使用者来说不在是黑盒.
  • raft模式
    基于raft算法实现节点信息的同步检测,对比与eureka的长轮训实现最终一致性而言,节点的信息同步更快,一致性更高

故障转移

当服务使用sql模式的时候,如果mysql发生了故障,wick会自动检测mysql,并尝试自动切换到基于内存和文件的raft模式,并实时检测mysql的最新状态,当mysql恢复的时候,自动切换回sql模式,并同步数据

可视化管理

wick提供了丰富的可视化管理后台,实现节点的实时状态查看,以及手动的节点拉入和拉出,手动刷新等功能

how does it do

App是一个服务的概述,一个app由多个instance实例组成,(后续会支持 cluster 集群)
naming是服务端,client是客户端,概述图如下
概述图

johnwick's People

Contributors

fragment-dm avatar zgcmark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.