Giter Club home page Giter Club logo

charlienss / springcloud-ribbon-turbine Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 72 KB

Ribbon轮询:轮流访问 重试:在一段时间内通过RoundRobinRule选择服务实例,一段时间内没有选择出服务则线程终止 响应时间权重:根据平均响应时间来计算权重 举个简单的列子,就是4个实例,A,B,C,D平均响应时间为10,40,80,100,所以总响应时间是10+40+80+100=230,每个实例权重为总响应时间与实际自身的平均响应时间的差的累积所得,所以A,B,C,D的权重分别如下: 实例A: 230-10=220 实例B:220+(230-40)=410 实例C:410+(230-80)=560 实例D:560+(230-100)=690 所以实例A:[0.220] 实例B:(220,410] 实例C:(410,560] 实例D:(560,690) 最空闲连接策略:当前空闲的提供者将优先被选取给消费者使用

Java 100.00%

springcloud-ribbon-turbine's People

Contributors

charlienss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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