Live data from Hacker News

HAProxy 2.0

haproxy.com

61–70 of 120 posts

Re: HAProxy 2.0

#61
Such a great project! I was a squid guy, then nginx and now since nginx stopped getting new features due to the commercial edition I am switching. Thank you developers for this amazing work!

Re: HAProxy 2.0

#62

Earlier quoted context omitted.

What conversation? Been using apache2 for like 20+ years now. It is doable to switch to something else, but would probably require effort with various details, etc. It works well for our moderate loads, so not really urgent to change it.

No one up till this point ever mentioned using HAProxy with Apache

The conversation has mostly been about NGinx vs HAProxy, at the balancer level, has it not?

Re: HAProxy 2.0

#63

Some months ago I decided to move every little things running on some VPS to docker (so I could move those apps at will and have apps with incompatible dependencies running on the same VPS). I looked into Haproxy, set a bunch of rules and fall into static IP management hell. Then I tried Traefik mainly because of the HTTPS auto-renewal feature but the ability to tag docker containers with DNS regex (so traefik knows…

You can also try Caddy: https://caddyserver.com/

Re: HAProxy 2.0

#64
Are there any programmble http proxy servers? I write a fair bit of VM/container control software and often need to map URLs to specific entities on the network dynamically. Never found a good programmable proxy with routing table API and always had to hand roll.

Re: HAProxy 2.0

#67

Are there any programmble http proxy servers? I write a fair bit of VM/container control software and often need to map URLs to specific entities on the network dynamically. Never found a good programmable proxy with routing table API and always had to hand roll.

maybe openresty? nginx with embedded lua plenty of library support for external systems like redis, memcached, mysql, etc...

Re: HAProxy 2.0

#68

Are there any programmble http proxy servers? I write a fair bit of VM/container control software and often need to map URLs to specific entities on the network dynamically. Never found a good programmable proxy with routing table API and always had to hand roll.

By programmable you mean configurable via a REST api?

Re: HAProxy 2.0

#69

Are there any programmble http proxy servers? I write a fair bit of VM/container control software and often need to map URLs to specific entities on the network dynamically. Never found a good programmable proxy with routing table API and always had to hand roll.

You can do Lua on HAProxy.

Re: HAProxy 2.0

#70

Are there any programmble http proxy servers? I write a fair bit of VM/container control software and often need to map URLs to specific entities on the network dynamically. Never found a good programmable proxy with routing table API and always had to hand roll.

You have Lua in haproxy if you want to do complex things. If you just want a programmable routing table, the maps in haproxy do exactly this and can be updated on the fly (including from the traffic itself if needed).

Or you can write the controlling program in the language of your choice and run it outside as an SPOA agent. Have a look at spoa_server which provides examples for Python and Lua.

Post reply on HN