News for hackers. Stuff that matters.
Re:Nostr.how – A Complete Guide to Nostr by lapcat on Saturday February 04, 2023 @04:43PM (#34658682)
> It's unclear how to preserve/port data. A relay is supposed to keep (or not) messages and the client is supposed to send messages to multiple relays. But what happens when a relay goes down? Can a client send messages to a new relay? Should the client keep all messages just for such a case?

https://www.nostr.how/relays "If all the relays that you have used in the past go offline, all your posts will be unretrievable. This is one reason that Nostr allows users to connect to many relays – this ensures some degree of backup. That said, if you're really interested in being uncensorable, you can run your own personal relay."

So clearly, relays are retaining copies of your data. The question is really storage capacity: if nostr becomes popular, will individual relays have enough storage capacity for all of its users?

Re:Nostr.how – A Complete Guide to Nostr by leesalminen on Saturday February 04, 2023 @05:12PM (#34658951)
I think relays should scale horizontally, meaning relays should become topic-based, geography-based, etc.

Also, I also don’t think relays are under the obligation to store notes forever. Part of scaling horizontally is hosting your own long term storage (or pay a provider to do that for you).

If a relay needs to scale vertically, they could start charging for access or do data mining+ad injection, all kinds of stuff to monetize.

One of the writers of the NIPs posted this earlier today:

> Other relay ideas (not very good, just to sparkle your imagination):

- a relay only for people with top-level domain names (no "@" at the NIP-05)

- a relay that only stores the most recent post of people

- a relay that only stores posts that have received at least 10 replies from other people (big threads)

- a relay that only serves posts to people having $X tag on their profile metadata

Re:Nostr.how – A Complete Guide to Nostr by pointlessone on Saturday February 04, 2023 @05:40PM (#34659190)
How does client decide which relay to send a message to?

Those relay ideas seem like the whole new level of screaming into the void. It doesn’t sit well with me that not only there’s no promise of saving my data but rather ideas of not keeping my data for me are floated around as a normal thing.

Re:Nostr.how – A Complete Guide to Nostr by leesalminen on Saturday February 04, 2023 @05:54PM (#34659305)
For this to happen clients will have to build this into the UI. I’ve got a work in progress concept for one client [0]. Basically let a user create arbitrary relay groups. When posting the user can choose which groups to post to. Users can then filter their feeds to specific relay groups.

[0] https://github.com/monlovesmango/astral/pull/93

Re:Nostr.how – A Complete Guide to Nostr by Aeolun on Saturday February 04, 2023 @07:56PM (#34660331)
I’m really confused as to why they’re called relays. As it is now they’re not relaying anything. They’re just a default server/client.