qlog icon indicating copy to clipboard operation
qlog copied to clipboard

Logging for paced packet sending

Open LPardue opened this issue 1 year ago • 2 comments

Today qlog has packet_sent events and datagrams_sent events, which can be used to log the event and the time it occurred.

In some scenarios, the application generating packets or even datagrams is not in direct control of the emission of those packets to the wire. For example, a QUIC library may be called to generate a batch of packets that are intended to be sent out on a future time schedule. If the pacing is offloaded to some other component, such as the kernel, then reporting events in a qlog might be practically hard.

Something we've done in quiche is to add an additional send_at_time field in the packet_sent event. This contains a timestamp that the QUIC layer decided that the packet should be sent out at. We can keep that as custom extension but I was curious if others had any opinions.

LPardue avatar Mar 25 '23 09:03 LPardue

We can close this when #400 lands

LPardue avatar Mar 04 '24 09:03 LPardue

Small correction: not #400 but its more general spinoff, which will be tracked in #379 :)

rmarx avatar Mar 04 '24 11:03 rmarx

Solved by #417

rmarx avatar Jun 24 '24 13:06 rmarx