If you want to sponsor someone else... 😅https://nproxy.zerologin.co/
It still uses a lot of CPU... Enough for today
Not yet. Only free relays are available for now.
But it's my plan to add paid relays in the list in the future
Rebooting the proxy with only 10 relays (RIP my CPU)
I'm already doing this. Help me there https://github.com/Dolu89/nostr-proxy
What about this list. It's the nostr.wine's public relays broadcast list + 1
wss://relay.damus.io/
wss://nos.lol/
wss://nostr.bitcoiner.social/
wss://nostr.oxtr.dev/
wss://relay.nostr.bg/
wss://relay.current.fyi/
wss://nostr.fmt.wiz.biz/
wss://nostr.mom/
wss://nostr.zebedee.cloud/
wss://nostr.openchain.fr/
Ok, I will remove a lot of relays in Nostr proxy.
It's too much CPU consuming and my server is not enough powerful.
Let's choose 10 public relays carefully.
I trying to optimize memory currently.
But now, my server has a too low CPU...
Scaling Nostr is resource consuming
Nostr proxy is broken. I'm on it
30+ websocket connections wow
Ok, this is the ultimate Nostr proxy stress-test.
I deployed a new version with nostr-tools's issues fixed.
Use it now!
I think I found the problem and it's in nostr-tools. It looks like a promise is never resolved when a relay is offline, and keep adding a new promise (which will never be resolved) every time a message is send.
Trying to find a fix without break anything
Every webapp using nostr-tools is affected, but it's not really a problem if you close or refresh the page.
It's more a problem for servers with a persistent connection
Report
11 connected clients
41 subs
75 Mo used memory.
Let's wait few hours...
Ok, I read somewhere the delete (delete myVar;) instruction in JS does free the memory...
I replaced the Object key value by a Map
Time for another spam test of Nostr Proxy
I mean, I need your power to get spammed by your followers
Guys, I need your help, please spam me be responding to this post or DM to stress test my proxy and catch all possible errors
@npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m
@npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6
@npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s
Test tagging @npub1txukm7xckhnxkwu450sm59vh2znwm45mewaps4awkef2tvsgh4vsf7phrl
If you see this message, please spam me.