Using HAProxy as an API Gateway, Part 1
Just how pluggable is HAProxy, or is there anything else out there which allows higher async control over the routing?My need is some rather customized request routing, currently done by Python (fast enough to do thousands of RPS in just Python with PyPy) but it'd nice to use a standard product.For every incoming request, I want to decide where it gets routed on a per-request basis to but not necessarily immediately (so some callback / event based / out of process interface is needed) and I want to be notified when the request finishes or fails.Basically the request for /foo/bar may need to spawn a new foo-bar management process which can take a while to warm up, and appear at some unknown future destination.I had a look at e.g. Traefik, Kong, Envoy but they didn't seem like quite the right fit.Using e.g. Proxygen seems like overkill.