Comment on Hosting multiple services with one IP address.
just_another_person@lemmy.world 3 days agoHAProxy is not meant for complex routing or handling of endpoints. It’s a simple service for Load Balancing or proxying alone. All the others have better features otherwise.
kumi@feddit.online 3 days ago
More concretely..? What cursed endpoints is this too simple for?
https://docs.haproxy.org/3.2/configuration.html#7
https://docs.haproxy.org/3.2/configuration.html#11
just_another_person@lemmy.world 3 days ago
For starters: Rails, PHP, and passthrough routing stacks like message handlers and anything that expects socket handling. It’s just not built for that, OR session management for such things if whatever it’s talking to isn’t doing so.
It seems like you think I’m talking smack about HAProxy, but you don’t understand it’s real origin or strengths and assume it can do anything.
It can’t. Neither can any of the other services I mentioned.
Chill out, kid.
kumi@feddit.online 3 days ago
One related story: I did have the arguable pleasure to operate a stateful Websockets/HTTP2-heavy horizontally scaled “microservice” API with Rails and even more Ruby. It was originally deployed with Traefik. When it went from “beta” stage to having to handle heavier traffic consistently and reliably, Traefik did not cut it anymore and after a few rounds of evaluation we settled on HAProxy, which was never regretted IIRC.
I think you are just baiting now.