What is Nostr?
StackSats / StackSats ⚡️
npub1hyc…v4y3
2023-01-17 13:12:20
in reply to nevent1q…52t3

StackSats on Nostr: Dear devs, I think how clients set the default relays is a very important key topic ...

Dear devs,

I think how clients set the default relays is a very important key topic to ensure future decentralization of the nostr protocol. The non-tech masses won't care about relays, they just want it to work. Max performance/connectivity and max decentralization are not the same route. We have to find the right balance.

We should develop a best pratice how to set default relays on clients.

Some form of randomness is vital to not fall for the centralization trap. It should be combined with some important metrics (eg traffic, reputation, ping, uptime, location ...). Defining these metrics and combine it with randomness is the key from my perspective.

Example for 12 default relays:
1. Connect to random ~3 relays with high user count, reputation score > 90 and uptime >99
2. Connect to random ~4 relay with mid user count, reputation score > 80, ping < 500 and uptime >95
3. Connect to random ~5 relays with low user count, reputation score > 70, ping < 100 and uptime >90

Let me know your thoughts on this.
Author Public Key
npub1hycynfhz23ardfmf9kgwfw4gpyqj2fsh24r2zuehg4x7lx4kn5cqsqv4y3