Relay operators: what's your plan when you start to run out of space?

At this pace my relay can only survive maybe 400 days or less before hard drive is filled.

Wondering if my free relay should be all about recent notes, and have my own dedicated private relay that will just store my notes?

Reply to this note

Please Login to reply.

Discussion

Curious to know what the pros are doing, IMHO it seems like a reasonable approach to store your notes on your private.

I think so. Social media is about now. There are other ways to keep important information available forever... like ordinals 😂

Я уже давно предлогал хранить информацию платно!

1 сат 1 год... 2 сат 2 года... круто????

My plan is to have my relay only record posts from users who interact with my services on my website. So it won’t be for everyday posts. Only that which is related to my website and it’s services.

For the social media use case of NostrGram I don't see why you would need to store notes in perpetuity, especially since people can easily backup their data or run their own relay for their own history. I tested it early on with NostrGram and virtually nobody ever scrolled past 2-3 days to read the notes.

Yeah that's what I'm thinking too. Definitely want copies of all my notes at least.

But then is Nostr really the censorship resistant network we think it is, where instead of getting censored you your speech just expires?

Relay operators be like: When in doubt, just start deleting those embarrassing high school photos and old memes. Who needs memories when you can have a functioning relay?

But when/where step by step guide?

Sorry I'm 5 when learning. 🥺

That is the million satoshi question. One reason why we don't want to host code repositories on relays.

How many space do you have?

I dont operate a relay, but if I did I'd be thinking about the growth in usage on data transfer, memory usage, connection costs etc more so than storage.

That said, you have a good point about continual growth of that storage. As a user, I generally don't need the ability to fetch too far in the past for all messages, and actually don't mind things expiring/deleting off on a rolling basis. E.g., 90 day old would likely be plenty. Useful features for paid services may be the ability to bookmark/flag/save N number of events on the account to be retained indefinitely, and users may be able to increase the max that can be kept by paying more on a recurring basis.

I'd expect there to be relay services that arise for "Compliance Reasons" to capture and retain everything for business/government for like 7+ years or some such, but that may be archived somewhere and not necessarily readily available to retrieve via protocol.

I'm going to prune old events.

If someone need to save their events forever it can be a self hosted storage or cloud or a paid service.

Since the events are public, it's OK to store them in cloud.

Umbrel offers an NOSTR relay app that allows you to backup your personal notes. Haven’t had the chance to try it out but planning on it in the next week or so.

Which relay software would you recommend for a private relay just to run on my local network and archive all my notes?

I'm the wrong person to ask, definitely not a pro. My understanding is is strfry is the fastest but it's newest and lacks features, the next fastest one is rust relay I think.

Just try a couple of them and see which one you like.