4 ms·
Are there any fundamental incompatibilities between the HAProxy data plane api and Envoy's? I wonder if something could sit in between and translate. It would
by cheriot 7y ago
Are there any fundamental incompatibilities between the HAProxy data plane api and Envoy's?
I wonder if something could sit in between and translate. It would be great for all the existing control planes to work with multiple data plane proxies.
- bndw 7y agoEnvoy's xDS APIs work with snapshots of configuration data that are compiled externally and sent to Envoy. HAProxy's API looks like more of a transactional RPC API and HAProxy manages the configuration internally.
- aiharos 7y agoTransactions are an optional part of the API to allow change over multiple API resources atomically. Getting an entire snapshot of configuration data is quite compatible with this, since then the explicit use of transactions is not necessary and the dataplane can take care of it on its own.
- wtarreau 7y agoAnd to add to this, a few of us at haproxy are part of the UDPA-WG (universal data plane API working group) with Envoy people to help figure how to define a universal/portable data plane API which would work across multiple load balancers. This sounds like a tedious task but your concern definitely proves it's worth the effort.