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": "156a3e58f7343cf88e0d4918f59378859d5c9dc7b2dff1924757adc088c381cd",
"pubkey": "b924d6ae8f6bb0c96d681f975c09155acb2a1bb2eb3efe32cb7b3ceb40cfae9f",
"created_at": 1718803880,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/@b0rk/112643531104784307",
"web"
],
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/112643531104784307",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://social.jvns.ca/users/b0rk/statuses/112643531104784307",
"pink.momostr"
]
],
"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": "21114af0e784b7181a8e6ee306523c6d7c91e9fa201ce3a06eb10ae794526d6730881ff13baac140a65413d556a647209ddf5b8354e6b80669096e56413ad79a"
}