ContentSquare / chproxy

Open-Source ClickHouse http proxy and load balancer
https://www.chproxy.org/
MIT License
1.29k stars 259 forks source link

Proxy cascading #54

Open miklezzzz opened 5 years ago

miklezzzz commented 5 years ago

Hi! Is there any way to configure proxies to query another proxies? I found that a proxy can't pass heartbeat check from another proxy (unauthorized). And i would like to configure compression between proxies if cascading is real. thx

hagen1778 commented 5 years ago

Hi @miklezzzz!

Never thought about this way of using proxy) But I'm rly interested to hear your experience! Thing you need to be aware of is timeouts, since proxy will send a KILL QUERY to upstream if time is out or client cancelled the query. As for initial question... Probably would be better to support authorized healthchecks, what do you think? Since I don't have enough time to maintain this project any help is welcome.

gontarzpawel commented 2 years ago

Hello @miklezzzz, are you still interested in this feature? Have you given a thought to @hagen1778 response?