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

Triple 重构 #2

Open
5 tasks
justxuewei opened this issue Mar 23, 2023 · 0 comments
Open
5 tasks

Triple 重构 #2

justxuewei opened this issue Mar 23, 2023 · 0 comments

Comments

@justxuewei
Copy link
Contributor

justxuewei commented Mar 23, 2023

Triple 涉及的组件比较多,因此在这里做一个简单的梳理。

目前的问题

  • Triple 与 grpc-go 过度耦合的问题,see also Triple 非侵入式使用 grpc-go 调研 #1

  • 探讨替换 grpc-go 为轻量 grpc 实现的可行性以及必要性。

  • 在 dubbogo 和 triple 仓库中 triple/dubbo3 中大量命名不统一,后续统一将 dubbo3 -> triple。

  • 在 codegen 中生成了大量的 XXX_{method} 代码。

  • 在 DubboProtocol::Export 中代码逻辑及其不清晰。

主要来说就做了三件事情:创建 exporter,创建 service 和创建 server,但是这其中因为序列化等问题纠缠在一起,这就导致代码看起来很冗余。

To be supplemented...

架构设计

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

1 participant