envoyproxy/envoy
Ver no GitHubHTTP/3 hot restart should be supported with eBPF
Open
#34.731 aberto em 13 de jun. de 2024
area/hot_restartarea/quicenhancementhelp wanted
Métricas do repositório
- Stars
- (27.997 stars)
- Métricas de merge de PR
- (Mesclagem média 8d) (378 fundiu PRs em 30d)
Description
In #19454, software-level support was added for HTTP/3 during hot restart, in which packets are forwarded from parent instance to child instance for the duration of the hot restart handoff.
Ideally this soft support could be bypassed using eBPF filters to deliver packets to the right instance first time.
To achieve this it would be necessary to:
- have the QUIC eBPF rule direct packets to the newer instance if they don't have an instance ID in the QUIC header.
- have the QUIC ID generator include encoding an instance ID.
- have the QUIC eBPF rule direct packets to the specified instance if they do have an instance ID.
- modify the hot restart behavior that causes the new instance to not listen until the parent is shut down, to listen immediately if there is eBPF support available. (Probably in pause())