Mike Dilger on Nostr: The problem isn't relay storage, it's client expectations. There is no way a client ...
The problem isn't relay storage, it's client expectations. There is no way a client can say to the relay that is streaming files at it "oh god no, please stop, that's too much.. oh no it just keeps pouring into me! Ahhh!" so events expected to be very very large would definitely need special event kinds at the very least. But do files need to be events? The signature might help, but tags wouldn't (they would be pulled by subscriptions not looking for them, just because somebody got tagged).
It is easier to just put URLs into events. If we need signed media, then we need to brainstorm that.
Published at
2023-01-22 22:40:23Event JSON
{
"id": "7fbcb2d094bf5f878f3bae1d2ffb991177a646f2a5d30b2a248238d78f5dd3aa",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1674427223,
"kind": 1,
"tags": [
[
"p",
"fd3423d0cce87f78be31f9eea31577207bbe3daab9013359cfe4b9358367ec3a"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"2d5b6404df532de082d9e77f7f4257a6f43fb79bb9de8dd3ac7df5e6d4b500b0"
],
[
"e",
"6ab336563474f38dfd977aff0280c17bb649e2e66587a1fb9b808c4beb00fa5d",
"wss://nostr-pub.wellorder.net",
"root"
],
[
"client",
"gossip"
]
],
"content": "The problem isn't relay storage, it's client expectations. There is no way a client can say to the relay that is streaming files at it \"oh god no, please stop, that's too much.. oh no it just keeps pouring into me! Ahhh!\" so events expected to be very very large would definitely need special event kinds at the very least. But do files need to be events? The signature might help, but tags wouldn't (they would be pulled by subscriptions not looking for them, just because somebody got tagged).\n\nIt is easier to just put URLs into events. If we need signed media, then we need to brainstorm that.",
"sig": "63c00199e471b3aabc87e174cd7ecc3d9532f7be242128050023b273d63ffcf99942d2d10d3ddbe80b61e1e4ec89732f9e8a520b289b77a25d4384dcb7609c97"
}