Giter Site home page Giter Site logo

Comments (5)

linking12 avatar linking12 commented on May 19, 2024

GrpcRouteRoundRobinLbFactory.GrpcRoundRobinLoadBalancer 这是从注册中心拿到地址后负载均衡,真正实现选择合适的地址是GrpcRoutePicker,你可以扩展该个类,由Ribbon选择合适的地址返回给grpc

from saluki.

dengqx520 avatar dengqx520 commented on May 19, 2024

好的,灰常感谢,gateway 重写,你有什么思路?

from saluki.

linking12 avatar linking12 commented on May 19, 2024

gateway重写
1:目前是想把oauth2的授权和资源拆分开,目前是耦合在一起的
2:把整个admin的控制台迁移到授权上,而资源只负责转发
3:想办法把zuul替换掉,或者重写zuul的转发

from saluki.

dengqx520 avatar dengqx520 commented on May 19, 2024

1、2两点我也是这样想的,但是第三点很麻烦

from saluki.

linking12 avatar linking12 commented on May 19, 2024

也不会麻烦,目前zuul使用的是servlet来转发请求;
可以自己写http接收的网络请求,手动转发到这个servlet上,这样的做法就是把web容器的http转发给替换掉了

from saluki.

Related Issues (17)

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.