Replies: 1 comment 2 replies
-
I vote for this
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since version 1.0 for
dispatch
and 1.1 fortransparent
23 years ago, which later becameoption transparent
, we've been carrying and porting support for these keywords that represent exceptions in the whole code. At various places in the backend code we make a special case of communications being sent to an address without using a server for these two. Nowadays they're no longer justified:dispatch
can simply be done usingserver
option transparent
can simply be done usingserver xxx 0.0.0.0
In addition, the connection modes do not support SSL, proxy protocol, checks, stats, unix sockets etc. In addition nowadays their usage has even required special handling since "balance" became the default, since they're incompatible with load balancing.
I think that we're way past the point where these should have been removed. I have seen from time to time (albeit very rarely) "dispatch" still being used in TCP proxies because configs are simple and require only two lines, or just because they've been ported over time from very old ones.
I'm thinking about deprecating both for 3.3 or even removing them. I'm seeing 4 options:
Needless to say I'm not fan of the last option. I would by default go to the first one but I do think that even the second (plain removal) might be workable. I'd really like users of
dispatch
and/oroption transparent
to voice in saying "no please don't do that so fast, I'm still using it". I'd of course prefer "thanks for the tip, now converted, you can get rid of it" :-)The 3rd option (emulation) is the one requiring more work on our side but I think it's workable. I just don't think it's well invested time given how obsolete these features are, but I'd happily be corrected if I'm wrong. Any other suggestion welcome, of course.
Thanks for any insights!
Beta Was this translation helpful? Give feedback.
All reactions