envoyproxy/envoy
Auf GitHub ansehenHTTP/3 hot restart should be supported with eBPF
Open
#34.731 geöffnet am 13. Juni 2024
area/hot_restartarea/quicenhancementhelp wanted
Repository-Metriken
- Stars
- (27.997 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)
Beschreibung
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())