Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下:使用dubbo构建微服务,web层如何按业务拆分、拆分完整个系统权限如何控制(因为已经分散在各web项目) #1

Open
3zamn opened this issue Oct 26, 2018 · 2 comments

Comments

@3zamn
Copy link

3zamn commented Oct 26, 2018

使用dubbo构建微服务时,web层如何按业务拆分、拆分完整个系统权限如何控制(因为已经分散在各web项目)、dubbo并没有像springcloud的网关可以用fegin远程调用、权限可以分散在各拆分后的web。请问如何进行架构设计?

@3zamn
Copy link
Author

3zamn commented Oct 26, 2018

@tangrui

@tangrui
Copy link
Owner

tangrui commented Jan 4, 2024

这篇文章写得比较早了,这么多年微服务领域也发生了很多变化。我理解其实你需要的是个网关组件。Dubbo 更多还是用来完成微服务之间东西向流量的一个治理能力,通过 Web 对外暴露其实并不是 Dubbo 擅长的。但近些年也有很多新的项目出现,比如 Higress,一来可以做到 Dubbo 到 HTTP 协议之间的转换,二来可以通过网关的路由配置,将不同请求分发给不同的后端微服务,这样就可以把对外暴露的网关层,和后端处理业务的服务层进行很好的切分了。当然除此之外,Higress 也可以做到像鉴权、证书卸载、流控等类似的功能,跟流量有关的逻辑都可以放到网关上面来处理,后端服务就安心处理业务就好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@tangrui @3zamn and others