You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apache Dubbo is a high-performance RPC framework dedicated to providing excellent service governance capabilities. With the introduction of HTTP/3, its features based on the QUIC protocol offer new possibilities for Dubbo microservices communication. HTTP/3, by reducing latency, increasing transmission speed, enhancing security, improving packet loss resistance, and supporting 0-RTT connections, provides significant performance and reliability improvements for Dubbo in cloud-native environments for microservices communication.
Technical Solution Summary
This proposal aims to integrate HTTP/3 into Apache Dubbo, supporting all core capabilities defined by the Triple protocol specification on HTTP/3. The construction of capabilities will revolve around the following core parts:
Remoting Protocol Adaptation: Develop a new remoting module based on netty-incubator-codec-http3, and modify dubbo-rpc-triple to make the existing triple's dependency on remoting compatible with HTTP/3. It also needs to include support for Alt-Svc defined in RFC7838 to implement bootstrapping.
RPC Protocol Adaptation: The adaptation of the RPC part includes both client and server. For the server, it mainly needs to support the initialization of HTTP/3 UDP Server, INPUT/OUTPUT adaptation, and the modification of TransportListener to support HTTP/3. The client part is mainly about supporting making call requests through HTTP/3, considering HTTP version negotiation, using HTTP/2 for servers that do not support HTTP/3, otherwise upgrading to HTTP/3.
HTTP/3 Core Capabilities Support: Based on the features of HTTP/3, support backpressure and flow control, support setting and optimizing congestion control algorithms, support frame prioritization.
Performance Testing: Conduct comprehensive performance testing, including comparison with HTTP/2 implementation and the original Dubbo protocol performance. The test report will cover key indicators such as machine load, response time, throughput under specific concurrency, latency, packet loss rate, and packet damage rate.
Supported capabilities
Server part: Implemented server port sharing, adapted http3 frame to triple model, adapted control signaling, reused the existing HttpWriteQueue to improve performance
Client part: Refactored NettyConnectionClient and ClientStream to support HTTP/2 and HTTP/3, reusing existing code as much as possible, including reconnection, QueuedCommand, and http3 frame adaptation
RPC call methods: Covered the three triple call methods: UNARY, SERVER_STREAM, BI_STREAM
Call protocol fully supports HTTP, REST, and gRPC
Configurable to enable HTTP3 globally or enable for specific providers or consumers
Server-side protocol negotiation based on Alt-Svc
Performance
Tasks
The following are the tasks that need to be completed for release
We want to support HTTP/3 in the 3.3 release. If you are interested in the HTTP/3 protocol and would like to collaborate, please contact me on DingTalk: oxsean
Related issues
No response
Are you willing to submit a pull request to fix on your own?
Yes I am willing to submit a pull request on my own!
Background
Apache Dubbo is a high-performance RPC framework dedicated to providing excellent service governance capabilities. With the introduction of HTTP/3, its features based on the QUIC protocol offer new possibilities for Dubbo microservices communication. HTTP/3, by reducing latency, increasing transmission speed, enhancing security, improving packet loss resistance, and supporting 0-RTT connections, provides significant performance and reliability improvements for Dubbo in cloud-native environments for microservices communication.
Technical Solution Summary
This proposal aims to integrate HTTP/3 into Apache Dubbo, supporting all core capabilities defined by the Triple protocol specification on HTTP/3. The construction of capabilities will revolve around the following core parts:
Supported capabilities
Performance
Tasks
The following are the tasks that need to be completed for release
Planning
We want to support HTTP/3 in the 3.3 release. If you are interested in the HTTP/3 protocol and would like to collaborate, please contact me on DingTalk: oxsean
Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: