Mazin on Nostr: There is plenty of overhead to establishing a connection, making a REQ, then ...
There is plenty of overhead to establishing a connection, making a REQ, then disconnecting. Even if the REQs are made strategically (and they certainly aren’t today on most clients) this still introduces a ton of additional latency. Small personal/community relays will also tend to be slower and unreliable, further increasing latency and performance issues.
If as you say majority of users stay connected with a small number of larger relays (tends to be my belief), doesn’t the gossip/outbox just become a waste of resources unlikely to yield many new notes with terrible tradeoffs?
I could be wrong of course, but to me the long term outlook of public (anyone can read) nostr relays seem more like medium-large hubs not small personal/community data stores. We still get the advantage of having many in different locations with different policies run by different operators with different risk tolerances. Private relays (with NIP-42 auth) are different and can serve a completely different purpose.
Published at
2023-11-28 20:27:09Event JSON
{
"id": "01c8065d55d1023339778fe6e9b782a61699231d94802c0101829726d451c3d7",
"pubkey": "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d",
"created_at": 1701203229,
"kind": 1,
"tags": [
[
"e",
"a3d31db58208263829c8d96929dd7569b250af5b8965932fa2473f79b9c19cc3"
],
[
"e",
"d314719192b99731c285783df9612e6de0b92a290cb24df55667f24fb59ae9d2"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef"
]
],
"content": "There is plenty of overhead to establishing a connection, making a REQ, then disconnecting. Even if the REQs are made strategically (and they certainly aren’t today on most clients) this still introduces a ton of additional latency. Small personal/community relays will also tend to be slower and unreliable, further increasing latency and performance issues. \u2028\u2028If as you say majority of users stay connected with a small number of larger relays (tends to be my belief), doesn’t the gossip/outbox just become a waste of resources unlikely to yield many new notes with terrible tradeoffs?\u2028\u2028I could be wrong of course, but to me the long term outlook of public (anyone can read) nostr relays seem more like medium-large hubs not small personal/community data stores. We still get the advantage of having many in different locations with different policies run by different operators with different risk tolerances. Private relays (with NIP-42 auth) are different and can serve a completely different purpose.",
"sig": "3bfb0b5e0560f17591df535d5934952d58af7c1fd135741ac9dde47169f3fae1ee3bb8aaf45f052b02f2a059a0dbd69d6521f003a003612fe02155a834f7a88d"
}