Silberengel on Nostr: Well, okay, lists are not an antipattern, but they're only appropriate for some ...
Well, okay, lists are not an antipattern, but they're only appropriate for some collection that is relatively short (under 1000 entries) and quite static.
Totally inappropriate for something that is constantly being fiddled with and/or steadily grows in length, like a follow list or bookmarks.
This is causing "event bloat", where relays have to allow for larger and larger event size.
Published at
2024-09-17 20:36:44Event JSON
{
"id": "095a9574e93865f2bbdd3382331e28381606ba08c9459c9a9c9882a8943b770c",
"pubkey": "fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1",
"created_at": 1726605404,
"kind": 1,
"tags": [
[
"e",
"054f1d49a45bd2bfbbba1db71df0ec80f2af6aa2c9a82fd17c63654fa952ae4b",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"5ee792e8b71527ba108cf5453208d59c36139c2c0dc81ec7984e1987e01b5a2c",
"wss://theforest.nostr1.com/",
"reply"
]
],
"content": "Well, okay, lists are not an antipattern, but they're only appropriate for some collection that is relatively short (under 1000 entries) and quite static.\n\nTotally inappropriate for something that is constantly being fiddled with and/or steadily grows in length, like a follow list or bookmarks.\n\nThis is causing \"event bloat\", where relays have to allow for larger and larger event size.",
"sig": "e4d3a49a1d0ac3798c47fc5a8d1956db74e3405dabed861dd33c3371eddc535b7ab5c263a09ea03aede37849760f60aa1f7d9aad649d291d6f48079ef4f2b8d2"
}