You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we use one socket for all QUIC connections (all QUICNetVCs share the socket), we cannot notify WRITE_READY appropriately. Currently we have a hack for this issue which reschedule WRITE_READY at the end of event handler.
If we could use connect() and bind(), each connections would have own sockets, and then we would be able to use the same mechanism as TCP connections.
I don’t have detail design, but I think we probably need to maintain two sockets during migration because the new connection (path) may not be available and we may need to migrate back to the original connection.
I think, but not tested, if the you close the old FD, remaining packets ends up on the "main" socket ? So we'd still need to dispatch them. The option of keeping both up for a while also seems feasible, but for how long?
The other option Christoph had suggested would involve using eBPF to deal with the migrations (i.e. let the kernel deal with moving the packets to the new socket).
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.
Activity
scw00 commentedon Dec 12, 2018
As @oknet indicated
How does connection migrated work ? Create a new socket with REUSEPORT ?
maskit commentedon Dec 12, 2018
I don’t have detail design, but I think we probably need to maintain two sockets during migration because the new connection (path) may not be available and we may need to migrate back to the original connection.
zwoop commentedon Dec 20, 2018
I think, but not tested, if the you close the old FD, remaining packets ends up on the "main" socket ? So we'd still need to dispatch them. The option of keeping both up for a while also seems feasible, but for how long?
The other option Christoph had suggested would involve using eBPF to deal with the migrations (i.e. let the kernel deal with moving the packets to the new socket).
maskit commentedon Dec 20, 2018
QUIC layer should know it and it can close either of the old one or the new one. I don’t have exact number at the moment but I think it’s a few RTT.
eBPF is definitely an option we should try. It would be great if we could support multiple ways with less ifdef.
github-actions commentedon Oct 19, 2021
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.