You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "complone (via GitHub)" <gi...@apache.org> on 2023/03/22 14:07:32 UTC

[GitHub] [dubbo] complone commented on issue #10805: Think of how Dubbo can better support http protocol. 设计支持 http 协议的编码与通信模式

complone commented on issue #10805:
URL: https://github.com/apache/dubbo/issues/10805#issuecomment-1479630911

   @AlbumenJ 
   您好,经过一段时间的调研,发现dubbo3目前的rpc协议是在remoting通讯协议的基础之上实现的.  我理解您的意思是基于dubbo的dubbo-remoting-netty或者dubbo-remoting-netty4模块在上层进行封装新的rpc协议, 比如现在的dubbo-rpc-rest模块当中,http协议需要基于RestServer启动单独的线程,通过传入的http协议payload进行通信, 同时dubbo-rpc-rest模块依赖dubbo-remoting-http模块的缘故,使其需要基于tomcat或者Jetty这类servlet容器运行.对于上述所提到的从transport层往上写一个新的协议的这一问题, 调研的方案是基于现有的netty类remoting协议封装(dubbo-remoting-netty模块和dubbo-remoting-netty4)模块之上实现http和http2的codec,并封装成新的dubbo-rpc-http与dubbo-rpc-http2模块
   
   
   将来triple协议的封装也会在dubbo-rpc-http2的基础之上做改动.  不知道这样设计是否合理


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org