Is it possible to package up a relay that can be a subscription as in AWS or Azure, GCP or any provider? Has anyone done this? Or perhaps a curl deploy-nostr-relay.sh | bash that starts one up in digital ocean ?
Discussion
It is possible, but the main problem is the underlying data substrate. You need something that scales well and horizontally and does not rely on a health of a single server. The problem, nobody besides one person that I know of, is working on it. It should also be economically viable, so not just using some expensive DBaaS 🐶🐾🫡
I would run a few relays if I could just spin up some droplets in DO
More relays is not the solution, client has finite resources and expensive bandwidth. 🐶🐾🫡
you can install a relay hub on any linux machine, docs here: https://github.com/relaytools/docs
nostr:note1wnc0wqz6he5dqan58u2v9uccr53fgljtdxpj58653l3mdlz20vaq7l3vg7