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

[Feature] Websocket Support For Triple Protocol #14298

Open
oxsean opened this issue Jun 7, 2024 · 3 comments
Open

[Feature] Websocket Support For Triple Protocol #14298

oxsean opened this issue Jun 7, 2024 · 3 comments
Assignees
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors

Comments

@oxsean
Copy link
Collaborator

oxsean commented Jun 7, 2024

Background

The Triple protocol is based on HTTP/2 and implements bidirectional communication using streams. WebSocket's long connection and event features are very suitable for RPC scenarios, so we consider using WebSocket as the communication layer for Triple, giving users more options.

In terms of specific implementation, we do not want to change the existing Triple protocol but rather adapt the Triple frame model to WebSocket frames. This can be done by referencing the approach used in HTTP/3.

Next Step

high-level design

@oxsean oxsean added type/need-triage Need maintainers to triage component/need-triage Need maintainers to triage labels Jun 7, 2024
@oxsean
Copy link
Collaborator Author

oxsean commented Jun 7, 2024

If you are interested in this, please leave a message to participate. However, implementing a new communication layer is quite challenging, so it is best if you have extensive experience with Netty

@oxsean oxsean added help wanted Everything needs help from contributors component/sdk Related with apache/dubbo and removed type/need-triage Need maintainers to triage component/need-triage Need maintainers to triage labels Jun 7, 2024
@finefuture
Copy link
Contributor

I'm interested. Please assign it to me.

@finefuture
Copy link
Contributor

Adapt the websocket frames model to the http2 frames, reuse the request processing flow of http2.
websocket on triple—Netty

Extend the Endpoint and MessageHandler of javax.websocket, adapt the websocket on netty request processing model.
websocket on triple—javax websocket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors
Projects
Status: Todo
Development

No branches or pull requests

2 participants