Skip to content

集成一个rpc框架? #3

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

Open
recklessMo opened this issue Aug 7, 2018 · 3 comments
Open

集成一个rpc框架? #3

recklessMo opened this issue Aug 7, 2018 · 3 comments

Comments

@recklessMo
Copy link

下一步是否考虑集成一个现有的rpc框架比如dubbo

@beston123
Copy link
Owner

可靠消息只和消息中间件有关,与rpc框架无关,你指的是如何集成呢?

@recklessMo
Copy link
Author

@beston123
我觉得客户端可以通过现有的rpc框架来调用Tarzan服务,我看项目里面有很多rpc相关的逻辑,这部分是不是就可以省掉了?毕竟这部分内容与可靠消息逻辑无关。

@beston123
Copy link
Owner

目前用的是基于netty实现的高性能轻量级rpc通信框架。
如果使用rpc框架的话,比如dubbo,会与rpc框架耦合,是编译时依赖,而且不支持异步,性能也是问题。
除非做成可以restful接口和spi的方式,这样难度有点大。

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

2 participants