aaron on Nostr: Why do you need to make new events durable before relaying them? The big performance ...
Why do you need to make new events durable before relaying them?
The big performance win is optimally figuring out which subscribers are interested in an in-flight event (using specialized filter indexes, instead of iterating over all subscribers for every event).
`wss://nostr-relay.untethr.me` does this. I think
River (npub1xke…d0en) was pursuing this, as well.
Published at
2023-01-24 03:22:29Event JSON
{
"id": "8e04380289024f6d13e959bb9e2451879c4dce37f4ef98f168a1ec7fe36f2047",
"pubkey": "aff9a9f017f32b2e8b60754a4102db9d9cf9ff2b967804b50e070780aa45c9a8",
"created_at": 1674530549,
"kind": 1,
"tags": [
[
"e",
"723c6fd30b7d94460cdce330763b3c4ae3d224a77c1dccf0d2f3b5cfb9aba126",
"",
"root"
],
[
"e",
"c4adffd19ea58339cd46dc47a6b1575351a23d6dfe43aa241a49dc7e4b985234",
"",
"reply"
],
[
"p",
"b9003833fabff271d0782e030be61b7ec38ce7d45a1b9a869fbdb34b9e2d2000"
],
[
"p",
"8967f290cc7749fd3d232fb7110c05db746a31fce0635aeec4e111ad8bfc810d"
],
[
"p",
"35b23cd02d2d75e55cee38fdee26bc82f1d15d3c9580800b04b0da2edb7517ea"
]
],
"content": "Why do you need to make new events durable before relaying them?\n\nThe big performance win is optimally figuring out which subscribers are interested in an in-flight event (using specialized filter indexes, instead of iterating over all subscribers for every event).\n\n`wss://nostr-relay.untethr.me` does this. I think #[4] was pursuing this, as well.",
"sig": "b0f328231dffe3441055cdd06670e70df6de7b44b0daedbc00503d47b99621daff4a83f5e1218a30737652b3551a897a941ca3573d2cc8e0212ced153f95ebb1"
}