How to proxy WebSocket traffic to gRPC?
What is the problem your feature solves, or the need it fulfills?
A clear and concise description of why this feature should be added. What is the problem? Who is this for?
Describe the solution you'd like
What do you propose to resolve the problem or fulfill the need above? How would you like it to work?
Describe alternatives you've considered
What other solutions, features, or workarounds have you considered that might also solve the issue? What are the tradeoffs for these alternatives compared to what you're proposing?
Additional context
This could include references to documentation or papers, prior art, screenshots, or benchmark results.
My scenario is that the downstream service uses the websocket protocol, and the upstream service uses the gRPC protocol. How should I proxy and forward through Pingora?
If Pingora currently does not support this feature, how should I make modifications?
Websocket and gRPC are two unrelated protocols. If you have a clean definition of how to translate one to another via HTTP header and body modification, you can use the Pingora framework to do so. The Pingora provides APIs for you to define the modification.
This question has been stale for a week. It will be closed in an additional day if not updated.
This issue has been closed because it has been stalled with no activity.
Websocket and gRPC are two unrelated protocols. If you have a clean definition of how to translate one to another via HTTP header and body modification, you can use the Pingora framework to do so. The Pingora provides APIs for you to define the modification.
Can you point out the APIs that can translate downstream Websocket clients to upstream H2/grpc or how to proxy websockets with upstream connection pooling?