Julia Evans on Nostr: when I asked people to explain how UDP works I got a lot of answers to the effect of ...
when I asked people to explain how UDP works I got a lot of answers to the effect of "it's spray and pray"
but I'm having trouble thinking of examples of UDP-based protocols that actually work in a "spray and pray" way —
* DNS is "send 1 packet, retry if you don't get a reply”
* QUIC is a sophisticated system for streaming data over UDP
* I'd guess that video protocols correct for packet loss
* maybe statsd is a "spray and pray” system?
(please do not reply to this explaining how UDP works)
Published at
2024-06-19 13:31:20Event JSON
{
"id": "aa2b93067bf4bde810f092554f0384c08d7f959075673877525c04ff069a22af",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1718803880,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/112643531104784307",
"activitypub"
]
],
"content": "when I asked people to explain how UDP works I got a lot of answers to the effect of \"it's spray and pray\"\n\nbut I'm having trouble thinking of examples of UDP-based protocols that actually work in a \"spray and pray\" way —\n\n* DNS is \"send 1 packet, retry if you don't get a reply”\n* QUIC is a sophisticated system for streaming data over UDP\n* I'd guess that video protocols correct for packet loss\n* maybe statsd is a \"spray and pray” system?\n\n(please do not reply to this explaining how UDP works)",
"sig": "8d612f5eb2b7f4c46ea733db0c66a53b0e15035418b88d2e9a34d0eb3e8bbbed16e397291067459cd4546606b943bbb0a82f345ee296646f227e81ca78e25837"
}