In P2P if you ARE the server. Its the same thing. You can choose to put a server up OR keep your phone connected at all times (virtually impossible these days). Otherwise, if you are offline, people would never find your posts. Think about relays as proxies to your device's database. They help others get your stuff when you are not online. Relays are not a database. They are a simple temporary storage of your notes.

Replies (3)

Ademan's avatar
Ademan 2 years ago
I don't mean to be combative about this (I hope it doesn't come off this way) ultimately like I said, the user base matters far more than the tech. I do wish nostriches were more familiar with what came before, though.
relays technically are only forwarding traffic, but the whole thing would not work without caching, so they are blending it with databases, and because of that, they are also starting to move into the realm of distributed databases. it's pretty much mandatory for nostr to blend relaying and caching together so there must also be a concomitant development of appropriate consensus algorithms that fit the use case. some people think that means blockchains but it's not needed to have strong consistency. eventual consistency, and only driven by user activity, is what seems to me like the right fit for nostr. this is solveable with merkle DAGs, tied to users. on a side note, there is a lot of confusion of domains in the discussion of architecture in nostr. it is a simple fact that the way a relay will structure its caching depends on the users. trying to make the strategy about a subject is blurring the boundary between serving users and serving an application model, and is going to lead to rigid and difficult to modify systems.