Replying to Avatar lebrunel

The relay is called Nex. You can find it here:

https://github.com/lebrunel/nex

To my knowledge it's the second most feature complete relay out there. But I don't have much reach on Nostr yet so no-one knows its there. Any shares appreciated 🙏

Being elixir, should scale quite nicely, but not put through its paces yet.

DB-wise it uses Ecto so any sql database will fit. The package is set up for postgres but I've tested locally using sqlite and all passes nicely. Subscriptions go in an ETS table but thats probably where the biggest optimisations need to come.

Nice to see another Elixir relay. I think there was another one but not sure if it was complete.

I think #[3] likes to follow new relays. He has mentioned Elixir relays in a previous post.

Would be interesting to see how Elixir scales with the Nostr architecture.

Reply to this note

Please Login to reply.

Discussion

I didn't know there were so many Elixir programmers, but apparently they're winning on Nostr. There are also https://github.com/Sgiath/nostr-private-relay and https://github.com/RiverFinancial/nostrex.

I think Elixir is pretty well suited for the design of a Nostr relay. I haven't put Nex through its paces yet, but in theory you should get good bang for your buck in terms of concurrent connections and cost of hardware.