Nostr Proxy stress test time!
https://nproxy.zerologin.co or https://nproxy.cc (or both)
dolu
dolu@dolu.dev
npub1txuk...phrl
Welcome sir #[0]
Did you remember twitter? It was an old social network back in the good old days
Is it a good UX to always have to click on "Show X new notes" instead of displaying them directly in the thread?
I'm on iris.to. Let's try it
Oh, I found a beautiful memory leak in nostr-tools!
Fixed on my branch, let's try this!
GM it crashed again
Nostr proxy is running for more an hour without RAM or CPU issue!
If it stay alive all the night, I could say it's "stable".
Try it here
https://nproxy.zerologin.co (deployed on a VPS)
https://nproxy.cc (deployed on railway)
Stats are funny (no)
VPS: 20 currents connections - 50-100Mo RAM
Railway: 2 currents connection - ~140Mo RAM
GM
This morning, I have an idea for Nostr Proxy.
Is it required for the proxy to validate schnorr signatures for each events?
Because stored events in relays are already validated and client validate events too when getting them.
So... is it required for the proxy to validate them?
Schnorr signature validation is really CPU intensive. It validates ~5000 events/min when opening 7 global feeds.
Can you please try wss://nproxy.cc instead of wss://nproxy.zerologin.co
Not definitive, but it's deployed elsewhere
Deploying the new relay pool now!
Ok, time to deploy the new relaypool to https://nproxy.zerologin.co
Stress test incoming!
Test publishing with the new relay pool
NO WAY!
91 clients connected to https://nproxy.zerologin.co ?!
Are you guys crazy?
I have to deploy the next test version elsewhere to not shutdown all of you
#[0] when I make a REQ on your relay with a limit, this limit is not considered
ex: ["REQ","global",{"kinds":[1],"limit":20}]
It just send me events without limit
I don't know what's your relay implementation, but it's probably an issue with it
I liked hamstr.to, but snort is really great too.
Too bad I can't see publications and conversations responses in the same page
Time to create a custom relays pool for Nostr proxy!
GM nostère
It still uses a lot of CPU... Enough for today
Rebooting the proxy with only 10 relays (RIP my CPU)