Can a relay run ok on a cheap DO droplet or do you need something beefy?
Discussion
A DO droplet will absolutely suffice until you reach a large volume of traffic. Even then, migrating your data to a larger host is no problem.
Ty
No problem! If you use something that utilizes a SQLite database, it will give you a ton of flexibility to scale by being really portable and easy to migrate into something more robust like postgresql
If you can filter spam, then itβs likely pretty good to scale as your grow.
Otherwise spam is around 10X non-spam events, if they add your relay or you sync from large relays.
Are there tools to filter spam?
I think Nostr-rs-relay and some others have a gRPC hook that you can run some check before publishing is allowed. Paid member, or content or rate limit, etc.
I donβt know of anyone else using it, however I wrote a couple ML models and have a decent dataset for training. I use it successfully in production - however it only works for events with enough content, not reactions, reposts, meta, etc. Bayes model works with fewer resources than the FastAI model.
Runs fine on a cheap VPS but storage will need to be upgraded pretty soon, bandwidth can also be an issue if your relay gets popular.
I run mine on $5 VPS's tho. Works good but I'll need to upgrade for extra storage soon.
I was having issues starting mine on a smaller $5 VM. Once I upgraded to a bit more storage and speed, it started running. Iβm thinking of scaling back down w hopes that it keeps running. Not sure yet.
it depends on what your plan is, for just a few people it will work for sure. But if you plan to add a few 1000 people then you have to go with a bigger droplet and also do not forget the disk usage as soon you have a lot of people on the relay.
Perhaps as an alternative to relay on Umbrel. Would be more reliable and easier to maintain connection from anywhere.
Well, umbrel is cool but there seem to be no options to manage anything unless Iβm overlooking something.
Iβm interested in interacting with an actual relay with various data.
Indeed. I want to try setting up a relay in a Production environment such as a DO droplet where only I have write permissions. Since only my notes & other stuff, I assume lower server requirements and therefore < USD $49/month. π€π»


