dubbo-js icon indicating copy to clipboard operation
dubbo-js copied to clipboard

dubbo3 - serialization 模块

Open hufeng opened this issue 3 years ago • 4 comments
trafficstars

目标

  • 通过对参数metadata,payload进行序列化和反序列化,完成通过transport调用前的数据准备
  • 参考目前triple的http2的spec规范

TODO

hufeng avatar Oct 31 '22 02:10 hufeng

  • [ ] 对接invoker模块
  • [ ] 解析Context内容
  • [ ] 使用ProtoBuf序列化及反序列化

songjiachao avatar Nov 11 '22 03:11 songjiachao

超哥,给力!可以将感兴趣的小伙伴,拉入进来一起讨论~~

宋加超 在 2022年11月11日 星期五 11:34:26 (+08:00) 写道:

[ ] 对接invoker模块 [ ] 解析Context内容 [ ] 使用ProtoBuf序列化及反序列化

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

hufeng avatar Nov 11 '22 03:11 hufeng

参考资料:

gRPC系列(二) 如何用Protobuf组织内容 https://zhuanlan.zhihu.com/p/149821222
gRPC over HTTP2 https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

songjiachao avatar Nov 11 '22 03:11 songjiachao

问题: 1、加载proto文件功能设计上,是通过一次性加载制定文件夹下匹配的所有proto文件。其中,加解密函数都是针对匹配过来的文件。那么,对于proto多文件时,只能通过寻找设置多文件共同所属的根目录进行匹配设置。这种模式,会不会降低glob的匹配效率?

xiaopengtang avatar Dec 04 '22 14:12 xiaopengtang