Q: Questions - name, performance?
Peperud opened this issue · comments
Peperud commented
- Name - wouldn't ReverseProxy be a better fitting name?
- Performance - what should be expected, compared to say
nginx
, or perhaps a closer match - golang'shttputil.ReverseProxy
? - Limitations?
Chris Ross commented
- Yes.
- So far this is just a proof of concept, no significant perf work has been done.
- The configuration isn't very flexible. No load balancing. No HTTP/2 support. No WebSocket support. etc..
Peperud commented
A suggestion - in addition to dynamic routing it will be useful if there is a way to dynamically filter (add/remove/change) headers. In both directions.
Perhaps having the middleware take a resolver (instead of straight options), with method(s) for resolving whatever it needs at runtime (destination, header filters etc.). And a default resolver implementation that handles the static options configuration...