jb55 on Nostr: hmm now that I think about it it wouldn’t be hard to incrementally move to the ...
hmm now that I think about it it wouldn’t be hard to incrementally move to the gossip model in damus. I could calculate a subset of the fastest relays to query based on a thread event author and the relays they have configured. I would still be concerned about missing events but maybe it would be fine.
Might be better for people with huge relay lists? I still feel like this is a premature optimization though. Relay pools are dumb but simple. I would have to see if the gains are worth it for the complexity.
Published at
2023-03-01 15:24:42Event JSON
{
"id": "c401c39367ade6c4b722fe9b7239adedfac901243ee6b1d4167a389cf316db5d",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1677684282,
"kind": 1,
"tags": [
[
"e",
"cd29138f007d260424d8152d9ed02dd60b4e7a74c04872941c7536adcecfc4d0",
"wss://eden.nostr.land"
],
[
"e",
"d2bca306b8f89d6f14da4b4b5516856a7edd223bcde5581751a244f3e16f91a1"
],
[
"p",
"df4cafee85f79769545851db202a8856f82dc917548093c760f3094896e987b2"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"a4ec6308a9c3a9e5eb6d02ac4d7ea64701e294c598010d1dd5e53a838aae1bea"
]
],
"content": "hmm now that I think about it it wouldn’t be hard to incrementally move to the gossip model in damus. I could calculate a subset of the fastest relays to query based on a thread event author and the relays they have configured. I would still be concerned about missing events but maybe it would be fine.\n\nMight be better for people with huge relay lists? I still feel like this is a premature optimization though. Relay pools are dumb but simple. I would have to see if the gains are worth it for the complexity.",
"sig": "585093e1c77a4933e29cbffd728df25f54ac70cb9e2a7972cee54ad606777608d76395786b81e3598b7a2e4adfce2994d76f9cc7e746321f45e4fd7cb4e1d104"
}