Haproxy
-
Haproxy free version
-
-
@herculist2022 what would like want to do with it on Cloudron?
-
@herculist2022 Feel like if you wanna load balance with cloudron, a second server would be needed + the load balancer should be on it's own hardware or vps to prevent ddos.
-
@herculist2022 Cloudron is already using nginx as a reverse proxy (for http requests) and with the latest release also can expose applications on other hosts through it.
-
@herculist2022 said in Haproxy:
nginx
nginx is something different from haproxy
nginx is something different from haproxy
HAProxy is open-source software that supports load-balancing capabilities and focuses on improving performance. NGINX is an open-source web server that comprises HTTP server capabilities and focuses on delivering stability and better performance results.
https://cloudinfrastructureservices.co.uk/haproxy-vs-nginx-whats-the-difference/
-
Alright, I will be the rude one here.
- Haproxy is a loadbalancer software with many features already offered by nginx.
- Cloudron uses nginx instead of haproxy and it's now too much work to switch to haproxy
- Haproxy cannot be an "app" on cloudron because it is basically a load-balancer service, that's all.
Yes, one could package haproxy as an app but what's the purpose of it? Do you want to open the app's terminal and add loadbalancing configuration? Haproxy will be running behind Cloudron's nginx, so it won't be at the best position to be serving as a loadbalancer.
-
@nj there are still useful use cases for having something load balanced within cloudron, such as having multiple vpn services and load/connection balancing across them.
So Nginx to HAproxy to any number of other apps you want control traffic to.
Ideally you could set that up with Nginx, but that's a feature that may become important to the CL team once v8 introduces multi server support.