Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pack multiple metadata messages in single UDP packets #27

@bitonic

Description

@bitonic

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions