Dlb connection balancer configuration (proto)
This extension has the qualified name envoy.network.connection_balance.dlb
Note
This extension is only available in contrib images.
Note
This extension is functional but has not had substantial production burn time, use only with this caveat.
This extension is not hardened and should only be used in deployments where both the downstream and upstream are trusted.
Tip
This extension extends and can be used with the following extension category:
extensions.network.connection_balance.dlb.v3alpha.Dlb
[extensions.network.connection_balance.dlb.v3alpha.Dlb proto]
The Dlb is a hardware managed system of queues and arbiters connecting producers and consumers. It is a PCIE device in the CPU package. It interacts with software running on cores and potentially other devices. The Dlb implements the following balancing features:
Lock-free multi-producer/multi-consumer operation.
Multiple priorities for varying traffic types.
Various distribution schemes.
Dlb connection balancer uses Dlb hardware to balance connections, and can significantly reduce latency.
As the Dlb connection balancer provides assistance from dedicated Dlb hardware, it can be used for a proxy with a large number of connections (e.g., a gateway).
{
"id": ...,
"max_retries": ...,
"fallback_policy": ...
}
- id
(uint32) The ID of the Dlb hardware, start from 0. If not specified, use the first available device as default.
- max_retries
(uint32) Maximum number of retries when sending to DLB device fails. No retry as default.
- fallback_policy
(extensions.network.connection_balance.dlb.v3alpha.Dlb.FallbackPolicy)
Enum extensions.network.connection_balance.dlb.v3alpha.Dlb.FallbackPolicy
[extensions.network.connection_balance.dlb.v3alpha.Dlb.FallbackPolicy proto]
The fallback policy if any error occurs. The default policy is None.
- None
(DEFAULT) No fallback policy.
- NopConnectionBalance
Fall back to Nop Connection Balance.
- ExactConnectionBalance
Fall back to Exact Connection Balance.