Comments (5)
GrpcRouteRoundRobinLbFactory.GrpcRoundRobinLoadBalancer 这是从注册中心拿到地址后负载均衡,真正实现选择合适的地址是GrpcRoutePicker,你可以扩展该个类,由Ribbon选择合适的地址返回给grpc
from saluki.
好的,灰常感谢,gateway 重写,你有什么思路?
from saluki.
gateway重写
1:目前是想把oauth2的授权和资源拆分开,目前是耦合在一起的
2:把整个admin的控制台迁移到授权上,而资源只负责转发
3:想办法把zuul替换掉,或者重写zuul的转发
from saluki.
1、2两点我也是这样想的,但是第三点很麻烦
from saluki.
也不会麻烦,目前zuul使用的是servlet来转发请求;
可以自己写http接收的网络请求,手动转发到这个servlet上,这样的做法就是把web容器的http转发给替换掉了
from saluki.
Related Issues (17)
- Could not find artifact com.quancheng.shared:mybatis-spring-boot-starter:jar:1.0.1-SNAPSHOT HOT 1
- gateway疑问 HOT 1
- gateway 重写
- commit error
- gateway配置文件没有关闭eureka
- 配置问题 HOT 3
- 源码疑问,getGrpcClient 获取stub疑问
- 请教大神 HOT 1
- have a document or guides HOT 1
- 请问admin的密码是多少?
- rpc-server端 proto定义中请求参数 只能有一个吗?
- 请教个问题
- db HOT 1
- Can not route correct
- Router rule config in console
- validator for param
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saluki.