dcs on Nostr: Somebody asked about the scalability of #python nostr-relay. After spending some time ...
Somebody asked about the scalability of #python nostr-relay. After spending some time today refactoring and stress-testing, the latest version (1.6) can easily support 1,000 concurrent clients, hammering the relay.
That's with the default sqlite configuration, "out of the box".
Switching to postgresql, and using multiple worker processes, should be able to comfortably handle many more writers.
https://pypi.org/project/nostr-relay/
#nostr
That's with the default sqlite configuration, "out of the box".
Switching to postgresql, and using multiple worker processes, should be able to comfortably handle many more writers.
https://pypi.org/project/nostr-relay/
#nostr