cloudflare / pingora

A library for building fast, reliable and evolvable network services.
Apache License 2.0
22.14k stars 1.23k forks source link

Is it any future plan to make http_proxy crates able to proxy a TCP backend like redis? #334

Open bijancot opened 4 months ago

bijancot commented 4 months ago

Let me know if this kind of feature request or question already made

What is the problem your feature solves, or the need it fulfills?

so learning pingora is exciting thing to learn and now i have a cases that i need to do a proxy for redis. But Found out that pingora_proxy only support http proxy through proxyHttp

Describe the solution you'd like

is it possible to make kind of proxyTcp In the future so pingora also can handle request that not Http and doesn't need to provide header etc.

Describe alternatives you've considered

-

Additional context

in my case i want to proxy 2 redis using custom proxy that built with pingora inspired by how sentinel and envoy works. Thank you!

eaufavor commented 3 months ago

Probably but not the top of the things we try to implement in the near term.

bijancot commented 3 months ago

Great, thank you! looking forward for it