-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
The proposal is to allow multiple requests and responses to be packed in a single UDP packet. When requests get read, you'd keep reading until you're out of bytes. The 4 byte protocol would serve as a marker for start of packet. We'd disallow leftovers, just like we do now. When responses get written out by the server, the server would be allowed to pack many in the same packet (if it has more than one response to the same client).
This change would be fairly non invasive, and would allow many stats to be sent at once without having to send many packets.
Note that we should still not use more than standard MTU (jumbo packets are explicitly requested by requests that need them, i.e. file spans and directory listings)