What is the best/fastest Nostr relay software? I keep having this idea pop into my head that I could make an insanely efficient implementation of Nostr relay using segmented ring buffers, with contention-free writing, and using a write-behind scheme for note persistence. It's possible something has done something more clever.

Reply to this note

Please Login to reply.

Discussion

I heard someone was writing one in C++. That should be a large improvement in performance.

Yep. Here's the C++ impl which uses lock free KV store. Also has neat ingestion features

Don't see a link.

Bah, didn’t paste. Sorry!

https://github.com/hoytech/strfry

Are you referring to the strfry implementation?

Yep: forgot URL; posted it in a followup message