Global Feed Post Login
Replying to Avatar fiatjaf

For Nostr to work I should be able to run a shitty relay on a $3 VPS just to post my own notes and my followers should be able to talk to it. Currently there are dozens of hundred-dollar powerful-machine relays out there and they are all being killed by the DDoS of queries.

Clients must get smarter and automatically know how to find people and fetch their posts even if they are on a shitty relay in the dark corners of the internet.

Once that happens, then it will make sense for the network to scale horizontally, for people to spread around multiple relays instead of always gravitating towards the central set of the same relays where everybody is.

Avatar
Alexandre de Moraes 2y ago

I remember that Elixir/Erlang is very good for this.

A company had needed 200 servers for their old codebase, and when switching to Elixir they needed only one.

Also WhatsApp handled 2 Million users (I Believe)using Erlang.

And also remember that DDOS attacks will be used intentionally by some countries as a censorship technique, so you better be prepared for that.

Reply to this note

Please Login to reply.

Discussion

No replies yet.