If everyone has a local relay, it's essentially P2P, you just call the database where notes are stored a relay. Nostr is still not very good in this scenario, the network relies on a few relays, if they don't work, notes disappear, etc. nostr:npub1melv683fw6n2mvhl5h6dhqd8mqfv3wmxnz4qph83ua4dk4006ezsrt5c24 was doing some interesting research on this.
I think we can get inspiration from protocols such as BitTorrent where adding nodes helps the distribution.
An idea: an experimental relay that listens on localhost, distributes events through Holepunch based network P2P. Not only archives them locally, but distributes interesting events to other such relays. All clients work well, they just think they speak to a relay (well, they do), but the way the relays distribute notes is through a P2P network.
The difference is that it isn't P2P by design, it can just be used as if it were P2P, by running a local server. It's still client/server, but housed on one machine.
You could also read/write only to a local relay and broadcast from there, over Tor. Then you could get around how slow Tor is.
Thread collapsed