mikedilger on Nostr: I would first recommend that if a client is connecting to "thousands of relays" ...
I would first recommend that if a client is connecting to "thousands of relays" because you follow thousands of people and they are all on different relays, then that client should only download the events of one person per relay. If John is on John's relay, only download John's notes from John's relay, not everybody elses, because otherwise you will get tons of duplicates. And if your client remembers what time period it asked for last time, it can avoid asking for those same notes again next time.
However, It still is a lot of SSL connections to manage. And I think that servers helping clients with the load are a good idea in general, without specifically recommending any architecture (because I'm entirely unsure).
Published at
2024-02-12 08:31:16Event JSON
{
"id": "3f8b6586058e77f89d42e6a4355e5f545f329134ce291c057e62f8556faa7f8e",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1707726676,
"kind": 1,
"tags": [
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"e",
"043ab7989ff085a2abed0407b2858028f4545604c21e524c25300685e465abda",
"wss://nostr-pub.wellorder.net/",
"root"
]
],
"content": "I would first recommend that if a client is connecting to \"thousands of relays\" because you follow thousands of people and they are all on different relays, then that client should only download the events of one person per relay. If John is on John's relay, only download John's notes from John's relay, not everybody elses, because otherwise you will get tons of duplicates. And if your client remembers what time period it asked for last time, it can avoid asking for those same notes again next time.\n\nHowever, It still is a lot of SSL connections to manage. And I think that servers helping clients with the load are a good idea in general, without specifically recommending any architecture (because I'm entirely unsure).",
"sig": "820b988e8c345f442b7a06d572580ee1e9a0526d53aa417eade0db3b621bf669168f2b23146077e7c54f1a32d6c61a87ddf0b4fdf3d4667c48342d52bb87ff76"
}