Sebastix on Nostr: Let me share my thinking out loud thoughts... I think selecting relays depends on the ...
Let me share my thinking out loud thoughts...
I think selecting relays depends on the purpose / goal in the client. For some clients a hardcoded list will work as the best solution (when it's a microservice client trying one thing at best with a one-kind specific relay) and for other clients which are doing a lot of different stuff around multiple event kinds they would use a dynamic relay selection (and this is where it gets complicated and you inititally define the biggest relays which are transmitting all the events).
I would argue a relay selection should be context-aware. I'm sure this topic is already often discussed in the NIPs repo? (which I should follow more tbh)
Published at
2024-05-07 15:01:28Event JSON
{
"id": "da54436ab177c7bcaad73ea4ce1d1be6ac78756320f31323c51b1981d7c70644",
"pubkey": "06639a386c9c1014217622ccbcf40908c4f1a0c33e23f8d6d68f4abf655f8f71",
"created_at": 1715094088,
"kind": 1,
"tags": [
[
"e",
"b1d26344adbf852f01f02d98ab463b0dc93187cfc18e1b8a39c4387582e2aa9d",
"wss://nos.lol/",
"root"
],
[
"e",
"b1d26344adbf852f01f02d98ab463b0dc93187cfc18e1b8a39c4387582e2aa9d",
"wss://nos.lol/",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"",
"mention"
]
],
"content": "Let me share my thinking out loud thoughts...\n\nI think selecting relays depends on the purpose / goal in the client. For some clients a hardcoded list will work as the best solution (when it's a microservice client trying one thing at best with a one-kind specific relay) and for other clients which are doing a lot of different stuff around multiple event kinds they would use a dynamic relay selection (and this is where it gets complicated and you inititally define the biggest relays which are transmitting all the events).\n\nI would argue a relay selection should be context-aware. I'm sure this topic is already often discussed in the NIPs repo? (which I should follow more tbh)",
"sig": "206df6e23db4b777b3419197c5bd2bda8b7feefed648aef019b216bc57c73d8be1829e4fbf4fbae1347818a578e38ea362295c283f3ed6af2a70ee5452550f0e"
}