area/hot_restartarea/quicenhancementhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 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())