Good reason to run a personal relay 😉

Reply to this note

Please Login to reply.

Discussion

Agreed! I actually think it’s quite unreasonable to expect a free relay to store 1+ year old events that are almost never accessed.

That would be a really quick way to increase costs and decrease performance.

Yup, 🤝

Can you make a relay that charges per byte per month and stores events indefinitely and stores them on disk or S3 or somewhere cheap with very limited querying capabilities?

I think you can query S3 by filename, so just save each event as a separate file with name = pubkey:created_at and done?

Or save each event with an id and keep local disk indexes.

Hmm - I don’t see why not. I think the main challenge is just UX.

Probably easiest to let users deposit a balance by pubkey and deduct from it as we receive/store events? Maybe just charge a fixed amount per note/per year of storage.

Then you get a recurring invoice for keeping your notes beyond the initial retention period (I’m thinking annually as opposed to monthly). Something like this?

What's the current age limit for nostr.wine subscribers?

Asking before I blast in some retro 2008 content 😂

We currently use the default (3 years). I’m open to changing that though if there is demand.

Yes.

I’m on it…

Yes you can query s3 by filename

> somewhere cheap

Check Backblaze: S3 compatible, solid and really cheap.

I do, but only for personal backup really.

I guess most people won't see old notes though.