Avatar
dolu
59b96df8d8b5e66b3b95a3e1ba159750a6edd69bcbba1857aeb652a5b208bd59

If you want to sponsor someone else... 😅https://nproxy.zerologin.co/

It still uses a lot of CPU... Enough for today

Rebooting the proxy with only 10 relays (RIP my CPU)

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

Ok, this is the ultimate Nostr proxy stress-test.

I deployed a new version with nostr-tools's issues fixed.

Use it now!

https://nproxy.zerologin.co/

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

Ahah, I need to be spammed to stress test my Nostr proxy

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

https://nproxy.zerologin.co/

Replying to Avatar dolu

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

https://nproxy.zerologin.co/

@npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m

@npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6

@npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s

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

https://nproxy.zerologin.co/

@npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m

@npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6

@npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s

Test tagging @npub1txukm7xckhnxkwu450sm59vh2znwm45mewaps4awkef2tvsgh4vsf7phrl