Aren't caddy and traefik fairly comparable? I've only used them both lightly so I may be missing the core point of each, but I thought of them as very similar.
Aren't caddy and traefik fairly comparable? I've only used them both lightly so I may be missing the core point of each, but I thought of them as very similar.
https://www.haproxy.com/blog/consul-service-discovery-for-ha...
- https://caddyserver.com/docs/modules/http.reverse_proxy.upst...
E.g., we can imagine writing or using a plugin to figure out some upcoming fancy sticky session routing logic based on routes/content vs just the user IP, but there are easier and more 'with the grain' solutions than with what Caddy exposes today, afaict
(Agreed tho: The reverse proxy module, for more typical cases, is awesome and we have been enjoying for years!)
Also yes, Caddy does service discovery if you use https://github.com/lucaslorentz/caddy-docker-proxy, configuration via Docker labels. Or you can use dynamic upstreams (built-in) https://caddyserver.com/docs/caddyfile/directives/reverse_pr... to use A/AAAA or SRV DNS records to load your list of upstreams.
(this basically solves the sticky shared chatroom websocket problem for us when routing to resources with gravity, in our case, multiuser data science notebooks!)
This app is very capable and flexible, but is still in development. Please expect breaking changes.
And it does not seem to be really seeing many new commits recently, so it feels pretty much "beta" at this point.