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
I am sure that all the content I provide is in English.
Search before asking
I had searched in the issues and found no similar feature requirement.
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Objective:
Implement a robust graceful shutdown mechanism for the HTTP/3 server connection handler using Netty's HTTP/3 incubator codec, focusing on leveraging the control stream for ping-pong and graceful shutdown (GOAWAY) logic.
Please refer to org.apache.dubbo.rpc.protocol.tri.transport.TripleServerConnectionHandler.
Key Requirements:
Control Stream Utilization
Utilize io.netty.incubator.codec.http3.Http3.getLocalControlStream() as the primary mechanism for managing connection state and initiating graceful shutdown.
Implement a bidirectional ping-pong mechanism to verify connection health and readiness for shutdown.
Ping-Pong Mechanism
Develop a lightweight ping-pong protocol on the control stream to:
a) Validate active connections
b) Detect connection responsiveness
c) Prepare for graceful termination
Create a configurable ping interval and timeout strategy
Handle scenarios where ping responses are delayed or missing
Graceful Shutdown (GOAWAY) Workflow
Design a GOAWAY process that:
a) Stops accepting new requests
b) Allows existing in-flight requests to complete
c) Provides a configurable grace period for request completion
Implement a systematic shutdown sequence using control stream signaling
Ensure all active streams are properly closed or terminated
Error Handling and Resilience
Implement comprehensive error handling for control stream operations
Provide logging and metrics for shutdown-related events
Handle potential network interruptions during the shutdown process
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!
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Objective:
Implement a robust graceful shutdown mechanism for the HTTP/3 server connection handler using Netty's HTTP/3 incubator codec, focusing on leveraging the control stream for ping-pong and graceful shutdown (GOAWAY) logic.
Please refer to org.apache.dubbo.rpc.protocol.tri.transport.TripleServerConnectionHandler.
Key Requirements:
Control Stream Utilization
io.netty.incubator.codec.http3.Http3.getLocalControlStream()
as the primary mechanism for managing connection state and initiating graceful shutdown.Ping-Pong Mechanism
a) Validate active connections
b) Detect connection responsiveness
c) Prepare for graceful termination
Graceful Shutdown (GOAWAY) Workflow
a) Stops accepting new requests
b) Allows existing in-flight requests to complete
c) Provides a configurable grace period for request completion
Error Handling and Resilience
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: