What's the case for putting your own *write* relay behind auth for all readers? I see an increasing trend for this kind of config, and I cannot I understand the utility, aside from avoiding stressing the relay, and collecting data.

Replies (23)

Sure, but this is a totally different and specific use case. I'm talking about the standard outbox config that you use for social media / long form.
Mostly it's abuse control, and it lands on the read side because the read and write paths share one WebSocket, so you can't gate only writes. Once every subscription is tied to a pubkey you can rate-limit or ban the heavy queryers, and a lot of the load on a public relay comes from those broad scans rather than people reading their own notes. The catch is that anything that can't sign a NIP-42 event is now locked out, so you trade a bit of openness for a relay that survives.
If. I doubt this is the setting of a standard relay for social interactions. Do you know a relay that have a similar settings, maybe controlled by a WoT?
I tried to find it again, but this was common about 8 months ago or so. I remember seeing 3 or 4 users with issues because of those rules. I am not sure if they are still around. But I can see this growing, since each app now has its own Nostr sub-community. With 40,000 relays now, things are starting to diversify beyond the standard kind 1 use cases, finally.
arthurfranca's avatar
arthurfranca 4 days ago
Imo even for writing it isn't fine (except for what I mentioned) because the signature already proves who's the author of the event. Requiring auth for reading would be similar to what X/Reddit do when asking for money to access their closed apis, which goes against Nostr selling point. It may also be interpreted as the relay inability to stop spam by other frictionless means.
You thought about one very niche use case that I had never considered, then you proceed to proclaim that it is the only valid use case. You could perhaps have some humility to imagine that other people might have other niche use cases too.
In a case like this, I would use a relay other than the default one, which should be an open relay. And maybe NIP-65 should permit to flag a relay as restricted with a reason, to facilitare clients in the job of showing an intuitive interface.
arthurfranca's avatar
arthurfranca 4 days ago
What about all the interop effort on the NIPs repo? It is impossible to interoperate with closed apis.
↑