Big release for #python nostr-relay today!

* Added full-text index, compatible with NIP-50

* Added the purple server – the fastest way to serve nostr websockets...

* Added validator to limit "hellthreads"

* Enabled NIP-05 identity provider for LMDB backend

* Made many micro-optimizations to the LMDB backend and json handling.

* Improved compatibility with python < 3.11

* Consolidated and improved query validation

Changelog: https://code.pobblelabs.org/fossil/nostr_relay/doc/tip/docs/CHANGELOG.md

And a new document on performance tuning tips: https://code.pobblelabs.org/fossil/nostr_relay/doc/tip/docs/performance.md

Reply to this note

Please Login to reply.

Discussion

Hot on the heals of 1.12, I hacked up a demo mode that will run a relay using a tuned config file:

pip install -U nostr-relay

nostr-relay --try-fast

And in another terminal:

aionostr bench -c 4

Let me know what results you get!